move hdutil to make target.

This commit is contained in:
Martin Rotter 2017-10-09 12:14:19 +02:00
parent 356f506f27
commit 623379c11a
2 changed files with 3 additions and 3 deletions

View file

@ -10,9 +10,9 @@ rm -rfv "RSS Guard.app/Contents/Frameworks"
ls "RSS Guard.app/Contents" ls "RSS Guard.app/Contents"
make zip make zip
make dmg
hdiutil create -fs HFS+ -srcfolder "./RSS Guard.app/" -volname "RSS Guard" rssguard.dmg #hdiutil create -fs HFS+ -srcfolder "./RSS Guard.app/" -volname "RSS Guard" rssguard.dmg
#make dmg #make dmg
ls -lha ls -lha

View file

@ -662,7 +662,7 @@ mac {
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX)) zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX))
dmg.target = dmg dmg.target = dmg
dmg.commands = macdeployqt $$shell_quote($$shell_path($$PREFIX)) -executable=$$shell_quote($$shell_path($$PREFIX/Contents/MacOS/$$TARGET)) -dmg dmg.commands = hdiutil create -fs HFS+ -srcfolder $$shell_quote($$shell_path($$PREFIX)) -volname "$$APP_NAME" $$TARGET.dmg
QMAKE_EXTRA_TARGETS += seven_zip zip dmg QMAKE_EXTRA_TARGETS += seven_zip zip dmg
} }