-
Notifications
You must be signed in to change notification settings - Fork 34
/
qtikz.pro
76 lines (69 loc) · 1.86 KB
/
qtikz.pro
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
lessThan(QT_VERSION, 5.15) {
error("QtikZ requires Qt version 5.15 or higher.")
}
ORGNAME = "Florian_Hackenberger"
APPNAME = qtikz
APPEXENAME = qtikz
APPVERSION = 0.13.2
QMAKE_CXXFLAGS += $$(CXXFLAGS)
QMAKE_CFLAGS += $$(CFLAGS)
QMAKE_LFLAGS += $$(LDFLAGS)
include(qmake/qtikzconfig.pri)
include(qmake/qtikzdefaults.pri)
include(qmake/qtikzmacros.pri)
include(qmake/findpoppler.pri)
include(app/app.pri)
include(translations/translations.pri)
include(doc/doc.pri)
include(data/data.pri)
include(win32/win32.pri)
message(*** QtikZ v$${APPVERSION} ***)
message(Qt version: $$[QT_VERSION])
message(The program will be installed in)
message(" $${BIN_INSTALL_DIR}")
message(The resource files will be installed in)
message(" $${RESOURCES_INSTALL_DIR}")
message(The documentation will be installed in)
message(" $${DOCUMENTATION_INSTALL_DIR}")
unix:!macx {
message(The desktop file will be installed in)
message(" $${DESKTOP_INSTALL_DIR}")
message(The mimetype will be installed in)
message(" $${MIME_INSTALL_DIR}")
message(The man page will be installed in)
message(" $${MAN_INSTALL_DIR}")
}
message("If you would like to change these paths,")
message("please adjust qtikzconfig.pri to your needs and rerun qmake.")
license.path = $${RESOURCES_INSTALL_DIR}
license.files += LICENSE.GPL2
INSTALLS += license
unix:QMAKE_EXTRA_TARGETS += PACKAGE
PACKAGE.target = package
PACKAGE.commands = "tar --exclude='debian-package' --exclude='*/.svn*' --exclude='moc_*' -cf - \
Changelog \
CMakeLists.txt \
KtikzConfig.cmake \
KtikzCPackOptions.cmake \
Doxyfile \
INSTALL \
qtikz.pro \
qmake \
TODO \
app/CMakeLists.txt \
app/*.h \
app/*.cpp \
app/*.ts \
app/*.qrc \
app/*.desktop.template \
app/*.pri \
app/*.rc \
app/*.ui \
app/*.xml \
templates \
app/icons \
common \
data \
doc \
translations \
part | tardy -Remove_Prefix ktikz -Prefix qtikz-$${APPVERSION} - - | gzip -c > qtikz-$${APPVERSION}.tar.gz"