-rw-r--r-- | include.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include.pro b/include.pro index 301d6a8..cbc534d 100644 --- a/include.pro +++ b/include.pro | |||
@@ -1,53 +1,58 @@ | |||
1 | # make install | 1 | # make install |
2 | 2 | ||
3 | # base opie install path | 3 | # base opie install path |
4 | outdir = /opt/QtPalmtop | 4 | outdir = /opt/QtPalmtop |
5 | 5 | ||
6 | contains( TEMPLATE, lib ) { | 6 | contains( TEMPLATE, lib ) { |
7 | target.path = $$outdir/lib | 7 | target.path = $$outdir/lib |
8 | } | 8 | } |
9 | !contains( TEMPLATE, lib ) { | 9 | !contains( TEMPLATE, lib ) { |
10 | target.path = $$outdir/bin | 10 | target.path = $$outdir/bin |
11 | } | 11 | } |
12 | INSTALLS += target | 12 | INSTALLS += target |
13 | 13 | ||
14 | # ipkg control files | 14 | # ipkg control files |
15 | control.path = /CONTROL | 15 | control.path = /CONTROL |
16 | control.files = control postinst prerm postrm preinst conffiles | 16 | control.files = control postinst prerm postrm preinst conffiles |
17 | INSTALLS += control | 17 | INSTALLS += control |
18 | 18 | ||
19 | # images, default is $$outdir/pics/$$TARGET | 19 | # images, default is $$outdir/pics/$$TARGET |
20 | pics.path = $$outdir/pics/$$TARGET | 20 | pics.path = $$outdir/pics/$$TARGET |
21 | pics.files = pics/* | 21 | pics.files = pics/* |
22 | INSTALLS += pics | 22 | INSTALLS += pics |
23 | 23 | ||
24 | # sounds, default path is $$outdir/sounds/$$TARGET | 24 | # sounds, default path is $$outdir/sounds/$$TARGET |
25 | sounds.path = $$outdir/sounds/$$TARGET | 25 | sounds.path = $$outdir/sounds/$$TARGET |
26 | sounds.files = sounds/* | 26 | sounds.files = sounds/* |
27 | INSTALLS += sounds | 27 | INSTALLS += sounds |
28 | 28 | ||
29 | # init scripts, default path is /etc/init.d | 29 | # init scripts, default path is /etc/init.d |
30 | init.path = /etc/init.d | 30 | init.path = /etc/init.d |
31 | init.files = init | 31 | init.files = init |
32 | INSTALLS += init | 32 | INSTALLS += init |
33 | 33 | ||
34 | # data, default path is /usr/share/$$TARGET | 34 | # data, default path is /usr/share/$$TARGET |
35 | data.path = /usr/share/$$TARGET | 35 | data.path = /usr/share/$$TARGET |
36 | data.files = share/* | 36 | data.files = share/* |
37 | INSTALLS += data | 37 | INSTALLS += data |
38 | 38 | ||
39 | # sounds, default path is $$outdir/sounds/$$TARGET | 39 | # sounds, default path is $$outdir/sounds/$$TARGET |
40 | sounds.path = $$outdir/sounds/$$TARGET | 40 | sounds.path = $$outdir/sounds/$$TARGET |
41 | sounds.files = sounds/* | 41 | sounds.files = sounds/* |
42 | INSTALLS += sounds | 42 | INSTALLS += sounds |
43 | 43 | ||
44 | # anything in nonstandard paths | ||
45 | root.path = / | ||
46 | root.files = root/* | ||
47 | INSTALLS += root | ||
48 | |||
44 | # new targets | 49 | # new targets |
45 | 50 | ||
46 | lupdate.target = lupdate | 51 | lupdate.target = lupdate |
47 | lupdate.commands = lupdate -noobsolete $(PRO) | 52 | lupdate.commands = lupdate -noobsolete $(PRO) |
48 | 53 | ||
49 | lrelease.target = lrelease | 54 | lrelease.target = lrelease |
50 | lrelease.commands = lrelease $(PRO) | 55 | lrelease.commands = lrelease $(PRO) |
51 | 56 | ||
52 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease | 57 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease |
53 | 58 | ||