mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
YACReaderLibraryServer: Default to bundled build.
As the headless server is now part of the default build, we need to default to a bundled build to avoid packaging problems and confusion on Linux and other systems using make install.
This commit is contained in:
parent
e5f59ae93f
commit
e0cce99be0
@ -129,18 +129,20 @@ DATADIR = $$PREFIX/share
|
|||||||
DEFINES += "LIBDIR=\\\"$$LIBDIR\\\"" "DATADIR=\\\"$$DATADIR\\\"" "BINDIR=\\\"$$BINDIR\\\""
|
DEFINES += "LIBDIR=\\\"$$LIBDIR\\\"" "DATADIR=\\\"$$DATADIR\\\"" "BINDIR=\\\"$$BINDIR\\\""
|
||||||
|
|
||||||
#make install
|
#make install
|
||||||
|
|
||||||
|
!CONFIG(server_bundled):!CONFIG(server_standalone): {
|
||||||
|
CONFIG+=server_bundled
|
||||||
|
message("No build type specified. Defaulting to bundled server build (CONFIG+=server_bundled).")
|
||||||
|
message("If you wish to run YACReaderLibraryServer on a system without an existing install of YACReaderLibrary,\
|
||||||
|
please specify CONFIG+=server_standalone as an option when running qmake to avoid missing dependencies.")
|
||||||
|
}
|
||||||
|
|
||||||
CONFIG(server_standalone) {
|
CONFIG(server_standalone) {
|
||||||
INSTALLS += bin server translation systemd
|
INSTALLS += bin server translation systemd
|
||||||
}
|
}
|
||||||
else:CONFIG(server_bundled) {
|
else:CONFIG(server_bundled) {
|
||||||
INSTALLS += bin systemd
|
INSTALLS += bin systemd
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
INSTALLS += bin server translation systemd
|
|
||||||
message("No build type specified. Defaulting to standalone server build (CONFIG+=server_standalone).")
|
|
||||||
message("If you wish to run YACReaderLibraryServer on a system with an existing install of YACReaderLibrary,\
|
|
||||||
please specify CONFIG+=server_bundled as an option when running qmake.")
|
|
||||||
}
|
|
||||||
|
|
||||||
bin.path = $$BINDIR
|
bin.path = $$BINDIR
|
||||||
isEmpty(DESTDIR) {
|
isEmpty(DESTDIR) {
|
||||||
|
Loading…
Reference in New Issue
Block a user