Introduce server build types 'standalone' and 'bundled'

This commit is contained in:
Felix Kauselmann 2016-05-10 09:17:14 +02:00
parent 4113d87815
commit 315063ba24

View File

@ -131,7 +131,16 @@ DATADIR = $$PREFIX/share
DEFINES += "LIBDIR=\\\"$$LIBDIR\\\"" "DATADIR=\\\"$$DATADIR\\\"" "BINDIR=\\\"$$BINDIR\\\""
#MAKE INSTALL
INSTALLS += bin #server #translation #manpage
CONFIG(server_standalone) {
INSTALLS += bin server translation manpage
}
else:CONFIG(server_bundled) {
INSTALLS += bin
}
else {
message(No build type specified. Defaulting to standalone server build.)
}
bin.path = $$BINDIR
isEmpty(DESTDIR) {