1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

MacOSX : Update Main Makefile to used the new package name that include the version.

This commit is contained in:
Mounir IDRASSI
2014-08-11 07:53:45 +02:00
parent 37891c2bb0
commit bb7ef68040

View File

@@ -166,7 +166,7 @@ endif
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
productsign --sign "Developer ID Installer: Mounir IDRASSI" "$(PWD)/Setup/MacOSX/VeraCrypt $(TC_VERSION).pkg" $(PWD)/Setup/MacOSX/VeraCrypt_$(TC_VERSION).pkg
rm -f $(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