1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
include( config.pri )
TEMPLATE = subdirs
SUBDIRS = src
# NOTE: if you change the installation paths, please update application.cpp accordingly
documentation.files = README
win32 {
documentation.path = $$PREFIX
} else:mac {
documentation.path = $${DESTINATION}$$PREFIX
} else {
documentation.path = $${DESTINATION}$$PREFIX/share/doc/webissues
}
INSTALLS += documentation
manual.files = doc/*.html doc/*.png
win32 {
manual.path = $$PREFIX/doc
} else:mac {
manual.path = $${DESTINATION}$$PREFIX/doc
} else {
manual.path = $${DESTINATION}$$PREFIX/share/doc/webissues/doc
}
INSTALLS += manual
manual-common.files = doc/common/*
manual-common.path = $$manual.path/common
INSTALLS += manual-common
translations.files = translations/*.qm
win32 {
translations.path = $$PREFIX/translations
} else:mac {
translations.path = $${DESTINATION}$$PREFIX/translations
} else {
translations.path = $${DESTINATION}$$PREFIX/share/webissues/translations
}
INSTALLS += translations
|