-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,37 +1,45 @@ | |||
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 | ||