author | kergoth <kergoth> | 2003-01-16 06:33:48 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-16 06:33:48 (UTC) |
commit | 711c066cc55172ec77749a369ba0273df73037b2 (patch) (unidiff) | |
tree | 3b574a4e10f41af5f82c803606f8a79bd916a661 /include.pro | |
parent | 9a90cb1a9e61d2bc3298f2131671d9f32abbac5a (diff) | |
download | opie-711c066cc55172ec77749a369ba0273df73037b2.zip opie-711c066cc55172ec77749a369ba0273df73037b2.tar.gz opie-711c066cc55172ec77749a369ba0273df73037b2.tar.bz2 |
Adjust included pro file to handle target path change depending on lib/nonlib.. preparing ipk generation via 'make install'.
-rw-r--r-- | include.pro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include.pro b/include.pro index fb27a6d..301d6a8 100644 --- a/include.pro +++ b/include.pro | |||
@@ -1,45 +1,53 @@ | |||
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 ) { | ||
7 | target.path = $$outdir/lib | ||
8 | } | ||
9 | !contains( TEMPLATE, lib ) { | ||
10 | target.path = $$outdir/bin | ||
11 | } | ||
12 | INSTALLS += target | ||
13 | |||
6 | # ipkg control files | 14 | # ipkg control files |
7 | control.path = /CONTROL | 15 | control.path = /CONTROL |
8 | control.files = control postinst prerm postrm preinst conffiles | 16 | control.files = control postinst prerm postrm preinst conffiles |
9 | INSTALLS += control | 17 | INSTALLS += control |
10 | 18 | ||
11 | # images, default is $$outdir/pics/$$TARGET | 19 | # images, default is $$outdir/pics/$$TARGET |
12 | pics.path = $$outdir/pics/$$TARGET | 20 | pics.path = $$outdir/pics/$$TARGET |
13 | pics.files = pics/* | 21 | pics.files = pics/* |
14 | INSTALLS += pics | 22 | INSTALLS += pics |
15 | 23 | ||
16 | # sounds, default path is $$outdir/sounds/$$TARGET | 24 | # sounds, default path is $$outdir/sounds/$$TARGET |
17 | sounds.path = $$outdir/sounds/$$TARGET | 25 | sounds.path = $$outdir/sounds/$$TARGET |
18 | sounds.files = sounds/* | 26 | sounds.files = sounds/* |
19 | INSTALLS += sounds | 27 | INSTALLS += sounds |
20 | 28 | ||
21 | # init scripts, default path is /etc/init.d | 29 | # init scripts, default path is /etc/init.d |
22 | init.path = /etc/init.d | 30 | init.path = /etc/init.d |
23 | init.files = init | 31 | init.files = init |
24 | INSTALLS += init | 32 | INSTALLS += init |
25 | 33 | ||
26 | # data, default path is /usr/share/$$TARGET | 34 | # data, default path is /usr/share/$$TARGET |
27 | data.path = /usr/share/$$TARGET | 35 | data.path = /usr/share/$$TARGET |
28 | data.files = share/* | 36 | data.files = share/* |
29 | INSTALLS += data | 37 | INSTALLS += data |
30 | 38 | ||
31 | # sounds, default path is $$outdir/sounds/$$TARGET | 39 | # sounds, default path is $$outdir/sounds/$$TARGET |
32 | sounds.path = $$outdir/sounds/$$TARGET | 40 | sounds.path = $$outdir/sounds/$$TARGET |
33 | sounds.files = sounds/* | 41 | sounds.files = sounds/* |
34 | INSTALLS += sounds | 42 | INSTALLS += sounds |
35 | 43 | ||
36 | # new targets | 44 | # new targets |
37 | 45 | ||
38 | lupdate.target = lupdate | 46 | lupdate.target = lupdate |
39 | lupdate.commands = lupdate -noobsolete $(PRO) | 47 | lupdate.commands = lupdate -noobsolete $(PRO) |
40 | 48 | ||
41 | lrelease.target = lrelease | 49 | lrelease.target = lrelease |
42 | lrelease.commands = lrelease $(PRO) | 50 | lrelease.commands = lrelease $(PRO) |
43 | 51 | ||
44 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease | 52 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease |
45 | 53 | ||