move hdutil to make target.
This commit is contained in:
parent
356f506f27
commit
623379c11a
2 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ rm -rfv "RSS Guard.app/Contents/Frameworks"
|
|||
ls "RSS Guard.app/Contents"
|
||||
|
||||
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
|
||||
|
||||
ls -lha
|
||||
|
|
|
@ -662,7 +662,7 @@ mac {
|
|||
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX))
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue