mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-19 12:22:47 +01:00
Enhance build process.
This commit is contained in:
parent
5d5564b4d1
commit
3fdb3b10bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user