Fixes for mac zip.
This commit is contained in:
parent
d85858e480
commit
7c79b8948f
18
rssguard.pro
18
rssguard.pro
@ -592,14 +592,26 @@ win32 {
|
|||||||
QMAKE_EXTRA_TARGETS += seven_zip zip
|
QMAKE_EXTRA_TARGETS += seven_zip zip
|
||||||
}
|
}
|
||||||
|
|
||||||
unix|mac {
|
unix|!mac {
|
||||||
seven_zip.target = 7zip
|
seven_zip.target = 7zip
|
||||||
seven_zip.depends = install
|
seven_zip.depends = install
|
||||||
seven_zip.commands = 7za a -t7z "$$TARGET-$$APP_VERSION-$$APP_REVISION-unix-mac.7z" $$shell_quote($$shell_path($$PREFIX/*))
|
seven_zip.commands = 7za a -t7z "$$TARGET-$$APP_VERSION-$$APP_REVISION-linux.7z" $$shell_quote($$shell_path($$PREFIX/*))
|
||||||
|
|
||||||
zip.target = zip
|
zip.target = zip
|
||||||
zip.depends = install
|
zip.depends = install
|
||||||
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-unix-mac.zip" $$shell_quote($$shell_path($$PREFIX/*))
|
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-linux.zip" $$shell_quote($$shell_path($$PREFIX/*))
|
||||||
|
|
||||||
|
QMAKE_EXTRA_TARGETS += seven_zip zip
|
||||||
|
}
|
||||||
|
|
||||||
|
mac {
|
||||||
|
seven_zip.target = 7zip
|
||||||
|
seven_zip.depends = install
|
||||||
|
seven_zip.commands = 7za a -t7z "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.7z" $$shell_quote($$shell_path($$PREFIX))
|
||||||
|
|
||||||
|
zip.target = zip
|
||||||
|
zip.depends = install
|
||||||
|
zip.commands = 7za a -tzip "$$TARGET-$$APP_VERSION-$$APP_REVISION-mac.zip" $$shell_quote($$shell_path($$PREFIX))
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += seven_zip zip
|
QMAKE_EXTRA_TARGETS += seven_zip zip
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user