Enhance build process.

This commit is contained in:
Martin Rotter 2018-01-02 20:49:29 +01:00
parent 5d5564b4d1
commit 3fdb3b10bf

View File

@ -8,14 +8,12 @@
# Usage:
# a) DEBUG build for testing. (out of source build type)
# cd ../build-dir
# lrelease ../rssguard-dir/rssguard.pro
# qmake ../rssguard-dir/rssguard.pro -r CONFIG+=debug PREFIX=./usr
# make
# make install
#
# b) RELEASE build for production use. (out of source build type)
# cd ../build-dir
# lrelease ../rssguard-dir/rssguard.pro
# qmake ../rssguard-dir/rssguard.pro -r CONFIG+=release PREFIX=./usr
# make
# make install
@ -607,6 +605,11 @@ lupdate.commands = lupdate $$shell_path($$PWD/rssguard.pro)
QMAKE_EXTRA_TARGETS += lupdate
# Make sure QM translations are nerated.
qtPrepareTool(LRELEASE, lrelease) {
system($$LRELEASE_EXECUTABLE -compress $$shell_quote($$shell_path($$PWD/rssguard.pro)))
}
# Create new "make 7zip" target and "make zip" target.
win32 {
seven_zip.target = 7zip