summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-01-16 06:33:48 (UTC)
committer kergoth <kergoth>2003-01-16 06:33:48 (UTC)
commit711c066cc55172ec77749a369ba0273df73037b2 (patch) (unidiff)
tree3b574a4e10f41af5f82c803606f8a79bd916a661
parent9a90cb1a9e61d2bc3298f2131671d9f32abbac5a (diff)
downloadopie-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'.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro8
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
4outdir = /opt/QtPalmtop 4outdir = /opt/QtPalmtop
5 5
6contains( TEMPLATE, lib ) {
7 target.path = $$outdir/lib
8}
9!contains( TEMPLATE, lib ) {
10 target.path = $$outdir/bin
11}
12INSTALLS += target
13
6# ipkg control files 14# ipkg control files
7control.path = /CONTROL 15control.path = /CONTROL
8control.files = control postinst prerm postrm preinst conffiles 16control.files = control postinst prerm postrm preinst conffiles
9INSTALLS += control 17INSTALLS += control
10 18
11# images, default is $$outdir/pics/$$TARGET 19# images, default is $$outdir/pics/$$TARGET
12pics.path = $$outdir/pics/$$TARGET 20pics.path = $$outdir/pics/$$TARGET
13pics.files = pics/* 21pics.files = pics/*
14INSTALLS += pics 22INSTALLS += pics
15 23
16# sounds, default path is $$outdir/sounds/$$TARGET 24# sounds, default path is $$outdir/sounds/$$TARGET
17sounds.path = $$outdir/sounds/$$TARGET 25sounds.path = $$outdir/sounds/$$TARGET
18sounds.files = sounds/* 26sounds.files = sounds/*
19INSTALLS += sounds 27INSTALLS += sounds
20 28
21# init scripts, default path is /etc/init.d 29# init scripts, default path is /etc/init.d
22init.path = /etc/init.d 30init.path = /etc/init.d
23init.files = init 31init.files = init
24INSTALLS += init 32INSTALLS += init
25 33
26# data, default path is /usr/share/$$TARGET 34# data, default path is /usr/share/$$TARGET
27data.path = /usr/share/$$TARGET 35data.path = /usr/share/$$TARGET
28data.files = share/* 36data.files = share/*
29INSTALLS += data 37INSTALLS += data
30 38
31# sounds, default path is $$outdir/sounds/$$TARGET 39# sounds, default path is $$outdir/sounds/$$TARGET
32sounds.path = $$outdir/sounds/$$TARGET 40sounds.path = $$outdir/sounds/$$TARGET
33sounds.files = sounds/* 41sounds.files = sounds/*
34INSTALLS += sounds 42INSTALLS += sounds
35 43
36# new targets 44# new targets
37 45
38lupdate.target = lupdate 46lupdate.target = lupdate
39lupdate.commands = lupdate -noobsolete $(PRO) 47lupdate.commands = lupdate -noobsolete $(PRO)
40 48
41lrelease.target = lrelease 49lrelease.target = lrelease
42lrelease.commands = lrelease $(PRO) 50lrelease.commands = lrelease $(PRO)
43 51
44QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease 52QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease
45 53