summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/include.pro b/include.pro
index 2155f97..0ce6424 100644
--- a/include.pro
+++ b/include.pro
@@ -1,69 +1,70 @@
1# make install 1# make install
2 2
3# base opie install path 3# base opie install path
4outdir = /opt/QtPalmtop 4outdir = /opt/QtPalmtop
5 5
6contains( TEMPLATE, lib ) { 6contains( 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}
12INSTALLS += target 12INSTALLS += target
13 13
14# ipkg control files 14# ipkg control files
15control.path = /CONTROL 15control.path = /CONTROL
16control.files = control postinst prerm postrm preinst conffiles 16control.files = control postinst prerm postrm preinst conffiles
17INSTALLS += control 17INSTALLS += control
18 18
19# images, default is $$outdir/pics/$$TARGET 19# images, default is $$outdir/pics/$$TARGET
20pics.path = $$outdir/pics/$$TARGET 20pics.path = $$outdir/pics/$$TARGET
21pics.files = pics/* 21pics.files = pics/*
22INSTALLS += pics 22INSTALLS += pics
23 23
24# sounds, default path is $$outdir/sounds/$$TARGET 24# sounds, default path is $$outdir/sounds/$$TARGET
25sounds.path = $$outdir/sounds/$$TARGET 25sounds.path = $$outdir/sounds/$$TARGET
26sounds.files = sounds/* 26sounds.files = sounds/*
27INSTALLS += sounds 27INSTALLS += sounds
28 28
29# init scripts, default path is /etc/init.d 29# init scripts, default path is /etc/init.d
30init.path = /etc/init.d 30init.path = /etc/init.d
31init.files = init.d/* 31init.files = init.d/*
32INSTALLS += init 32INSTALLS += init
33 33
34# data, default path is /usr/share/$$TARGET 34# data, default path is /usr/share/$$TARGET
35data.path = /usr/share/$$TARGET 35data.path = /usr/share/$$TARGET
36data.files = share/* 36data.files = share/*
37INSTALLS += data 37INSTALLS += data
38 38
39etc.path = $$outdir/etc/ 39etc.path = $$outdir/etc/
40etc.files = etc/* 40etc.files = etc/*
41INSTALLS += etc 41INSTALLS += etc
42 42
43apps.path = $$outdir/apps/ 43apps.path = $$outdir/apps/
44apps.files = apps/* 44apps.files = apps/*
45INSTALLS += apps 45INSTALLS += apps
46 46
47# sounds, default path is $$outdir/sounds/$$TARGET 47# sounds, default path is $$outdir/sounds/$$TARGET
48sounds.path = $$outdir/sounds/$$TARGET 48sounds.path = $$outdir/sounds/$$TARGET
49sounds.files = sounds/* 49sounds.files = sounds/*
50INSTALLS += sounds 50INSTALLS += sounds
51 51
52# anything in nonstandard paths 52# anything in nonstandard paths
53root.path = / 53root.path = /
54root.files = root/* 54root.files = root/*
55INSTALLS += root 55INSTALLS += root
56 56
57# new targets 57# new targets
58 58
59lupdate.target = lupdate 59lupdate.target = lupdate
60lupdate.commands = lupdate -noobsolete $(PRO) 60lupdate.commands = lupdate -noobsolete $(PRO)
61 61
62lrelease.target = lrelease 62lrelease.target = lrelease
63lrelease.commands = lrelease $(PRO) 63lrelease.commands = lrelease $(PRO)
64 64
65ipk.target = ipk 65ipk.target = ipk
66ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; ) 66ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) INSTALL_ROOT="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; )
67 67
68QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk 68QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk
69QMAKE_LFLAGS += -Wl,-rpath=$$outdir/lib 69QMAKE_LFLAGS += -Wl,-rpath=$$outdir/lib
70QMAKE_LIBDIR += $(OPIEDIR)/lib