-
Notifications
You must be signed in to change notification settings - Fork 12
/
prefix.pri
33 lines (31 loc) · 5.72 KB
/
prefix.pri
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
# Common install paths definitions. On Unix-like operating systems it
# is possible to tweak the install-prefix by running qmake like this:
#
# qmake PREFIX=MY_VERY_OWN_LOCATION
#
# e.g. "qmake PREFIX=$HOME/software/" or the like.
#
win32 {
EXEC_DIR = "$$(PROGRAMFILES_HOME)"
}
unix {
isEmpty( PREFIX ) {
PREFIX = /usr
}
isEmpty( EXEC_DIR ) {
EXEC_DIR = $${PREFIX}/bin
}
isEmpty( LIB_DIR ) {
LIB_DIR = $${PREFIX}/lib
}
isEmpty( INCLUDE_DIR ) {
INCLUDE_DIR = $${PREFIX}/include
}
isEmpty( DOC_DIR ) {
macx|darwin-g++ {
DOC_DIR = /Developer/Documentation/$${TARGET}
} else {
DOC_DIR = $${PREFIX}/share/doc/$${TARGET}
}
}
}