forked from FedoraQt/MediaWriter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.pri
More file actions
22 lines (22 loc) · 727 Bytes
/
deployment.pri
File metadata and controls
22 lines (22 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# this file is shared for all targets
# and it is actually located in the root folder of the project
isEmpty(PREFIX) {
PREFIX = /usr/local
}
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
isEmpty(LIBEXECDIR) {
LIBEXECDIR = $$PREFIX/libexec/mediawriter
}
linux {
DEFINES += BINDIR=\\\"$$BINDIR\\\"
DEFINES += DATADIR=\\\"$$DATADIR\\\"
DEFINES += LIBEXECDIR=\\\"$$LIBEXECDIR\\\"
}
QMAKE_LIBDIR += $$top_builddir/lib
INCLUDEPATH += $$top_srcdir/lib/
isEmpty(MEDIAWRITER_VERSION) {
MEDIAWRITER_VERSION=$$quote($$system(git -C \""$$_PRO_FILE_PWD_"\" describe --tags || echo N/A))
}
MEDIAWRITER_VERSION_SHORT=$$section(MEDIAWRITER_VERSION,-,0,0)
DEFINES += MEDIAWRITER_VERSION="\\\"$$MEDIAWRITER_VERSION\\\""