-rw-r--r-- | include.pro | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include.pro b/include.pro index 0ce6424..da2da04 100644 --- a/include.pro +++ b/include.pro | |||
@@ -1,29 +1,29 @@ | |||
1 | # make install | 1 | # make install |
2 | 2 | ||
3 | # base opie install path | 3 | # base opie install path |
4 | outdir = /opt/QtPalmtop | 4 | prefix = /opt/QtPalmtop |
5 | 5 | ||
6 | contains( TEMPLATE, lib ) { | 6 | contains( TEMPLATE, lib ) { |
7 | target.path = $$outdir/lib | 7 | target.path = $$prefix/lib |
8 | } | 8 | } |
9 | !contains( TEMPLATE, lib ) { | 9 | !contains( TEMPLATE, lib ) { |
10 | target.path = $$outdir/bin | 10 | target.path = $$prefix/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 $$prefix/pics/$$TARGET |
20 | pics.path = $$outdir/pics/$$TARGET | 20 | pics.path = $$prefix/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 $$prefix/sounds/$$TARGET |
25 | sounds.path = $$outdir/sounds/$$TARGET | 25 | sounds.path = $$prefix/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 |
@@ -35,18 +35,18 @@ INSTALLS += init | |||
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 | etc.path = $$outdir/etc/ | 39 | etc.path = $$prefix/etc/ |
40 | etc.files = etc/* | 40 | etc.files = etc/* |
41 | INSTALLS += etc | 41 | INSTALLS += etc |
42 | 42 | ||
43 | apps.path = $$outdir/apps/ | 43 | apps.path = $$prefix/apps/ |
44 | apps.files = apps/* | 44 | apps.files = apps/* |
45 | INSTALLS += apps | 45 | INSTALLS += apps |
46 | 46 | ||
47 | # sounds, default path is $$outdir/sounds/$$TARGET | 47 | # sounds, default path is $$prefix/sounds/$$TARGET |
48 | sounds.path = $$outdir/sounds/$$TARGET | 48 | sounds.path = $$prefix/sounds/$$TARGET |
49 | sounds.files = sounds/* | 49 | sounds.files = sounds/* |
50 | INSTALLS += sounds | 50 | INSTALLS += sounds |
51 | 51 | ||
52 | # anything in nonstandard paths | 52 | # anything in nonstandard paths |
@@ -65,6 +65,6 @@ lrelease.commands = lrelease $(PRO) | |||
65 | ipk.target = ipk | 65 | ipk.target = ipk |
66 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) | 66 | ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) |
67 | 67 | ||
68 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk | 68 | QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk |
69 | QMAKE_LFLAGS += -Wl,-rpath=$$outdir/lib | 69 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib |
70 | QMAKE_LIBDIR += $(OPIEDIR)/lib | 70 | QMAKE_LIBDIR += $(OPIEDIR)/lib |