Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include /usr/local/share/luggage/luggage.make
include luggage/luggage.make
include config.mk
USE_PKGBUILD=1
PB_EXTRA_ARGS+= --info "./Package/PackageInfo"
Expand Down Expand Up @@ -77,12 +77,13 @@ pack-checkin: l_Library l_Library_LaunchDaemons build_binary sign_binary
@sudo ${CP} build/checkin ${WORK_D}/Library/Crypt/checkin
@sudo chown -R root:wheel ${WORK_D}/Library/Crypt
@sudo chmod 755 ${WORK_D}/Library/Crypt/checkin
@sudo chown -R wesw:wheel ${WORK_D}/payload
@sudo chown -R root:wheel ${WORK_D}/payload
@sudo ${INSTALL} -m 644 -g wheel -o root Package/com.grahamgilbert.crypt.plist ${WORK_D}/Library/LaunchDaemons

dist: pkg
@sudo rm -f Distribution
@sudo productbuild --distribution Distribution Crypt-${BUNDLE_VERSION}.pkg
@sed "s/replace_version/${PACKAGE_VERSION}/g" Package/Distribution-Template > Distribution
@sudo productbuild --distribution Distribution --package-path . --sign "${DEV_INSTALL_CERT}" Crypt-${PACKAGE_VERSION}.pkg
@sudo rm -f Crypt.pkg
@sudo rm -f Distribution

Expand Down
Loading
Loading