summaryrefslogtreecommitdiffstats
path: root/sigen.pro
blob: b0ed3e7439fb1004e2663fac875a6431914706a4 (plain)
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
include(version.pri)
TEMPLATE = subdirs
CONFIG += ordered

SUBDIRS = sigcore \
 sigmod \
 sigscript \
 sigbattle \
 signet \
 sigmodr

sigmod.depends = sigcore
sigmodr.depends = sigmod sigcore
sigscript.depends = sigmod sigcore
sigbattle.depends = sigscript signet sigcore

distsrc.target = distsrc
win32 {
    distsrc.commands = make-tarball.bat $${VERSION}
} else {
    distsrc.commands = ./make-tarball.sh $${VERSION}
}
QMAKE_EXTRA_TARGETS += distsrc

documentation.path = $$PREFIX/share/doc/sigen-$${VERSION}
documentation.files = DISCLAIMER \
 LICENSE
INSTALLS += documentation

unix {
    rpm.target = rpm
    rpm.commands = rpmbuild -ta releases/sigen-$${VERSION}.tar.bz2
    rpm.depends = distsrc
    QMAKE_EXTRA_TARGETS += rpm
} win32 {
} mac {
}