TEMPLATE = subdirs SUBDIRS += \ RedPandaIDE \ astyle \ consolepauser win32: { SUBDIRS += \ redpanda-win-git-askpass } linux: { SUBDIRS += \ redpanda-git-askpass } APP_NAME = RedPandaCPP APP_VERSION = 0.14.5 linux: { isEmpty(PREFIX) { PREFIX = /usr/local } QMAKE_SUBSTITUTES += linux/redpandaide.desktop.in resources.path = $${PREFIX}/share/$${APP_NAME} resources.files += linux/templates INSTALLS += resources docs.path = $${PREFIX}/share/doc/$${APP_NAME} docs.files += README.md docs.files += NEWS.md docs.files += LICENSE INSTALLS += docs pixmaps.path = $${PREFIX}/share/pixmaps pixmaps.files += linux/redpandaide.png INSTALLS += pixmaps desktop.path = $${PREFIX}/share/applications desktop.files += linux/redpandaide.desktop INSTALLS += desktop } win32: { !isEmpty(PREFIX) { target.path = $${PREFIX} QMAKE_SUBSTITUTES += windows/installer-scripts/config.nsh.in QMAKE_SUBSTITUTES += windows/installer-scripts/config32.nsh.in resources.path = $${PREFIX} resources.files += windows/templates resources.files += windows/installer-scripts/config.nsh resources.files += windows/installer-scripts/config32.nsh resources.files += README.md resources.files += NEWS.md resources.files += LICENSE resources.files += RedPandaIDE/images/devcpp.ico INSTALLS += resources } }