VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Main.make
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-08-11 00:53:13 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:22:29 +0100
commitce44ad4c5748167c2c175cefe7ae3b61d220dd66 (patch)
tree01cc1bf71d66bd96210dff83681acf5749e18849 /src/Main/Main.make
parenta857f6c08772b2b6a5bec7f019e654f74cced86a (diff)
downloadVeraCrypt-ce44ad4c5748167c2c175cefe7ae3b61d220dd66.tar.gz
VeraCrypt-ce44ad4c5748167c2c175cefe7ae3b61d220dd66.zip
MacOSX : modify Makefile to automatically build and sign the MacOSX installer for VeraCrypt.
Diffstat (limited to 'src/Main/Main.make')
-rw-r--r--src/Main/Main.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make
index 1e6a1ccc..cd738bda 100644
--- a/src/Main/Main.make
+++ b/src/Main/Main.make
@@ -165,8 +165,10 @@ endif
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist
codesign -s "Developer ID Application: Mounir IDRASSI" $(APPNAME).app
+ /usr/local/bin/packagesbuild $(PWD)/Setup/MacOSX/veracrypt.pkgproj
+ productsign --sign "Developer ID Installer: Mounir IDRASSI" $(PWD)/Setup/MacOSX/veracrypt.pkg $(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg
rm -f $(APPNAME)_$(TC_VERSION).dmg
- hdiutil create -srcfolder $(APPNAME).app -volname "VeraCrypt $(TC_VERSION) for Mac OS X $(VC_OSX_TARGET) and later" $(APPNAME)_$(TC_VERSION).dmg
+ hdiutil create -srcfolder (PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg -volname "VeraCrypt $(TC_VERSION) for Mac OS X $(VC_OSX_TARGET) and later" $(APPNAME)_$(TC_VERSION).dmg
endif
ifeq "$(PLATFORM)" "Linux"