summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-01-16 06:55:42 (UTC)
committer kergoth <kergoth>2003-01-16 06:55:42 (UTC)
commit3f2f72773a1d12da231ba12e34cdc2842e30fe5d (patch) (unidiff)
tree65cd87df8e56179fa4642fb23ef53117f38412cc
parent0b9787872c6e88ebc5591e0fc2dcc6c3e57e9b9c (diff)
downloadopie-3f2f72773a1d12da231ba12e34cdc2842e30fe5d.zip
opie-3f2f72773a1d12da231ba12e34cdc2842e30fe5d.tar.gz
opie-3f2f72773a1d12da231ba12e34cdc2842e30fe5d.tar.bz2
Add 'ipk' target to makefile, that creates a temp directory with mktemp, does a make DESTDIR=thatdir install into it, and runs ipkg-build on it :) needs tweaking.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro15
1 files changed, 13 insertions, 2 deletions
diff --git a/include.pro b/include.pro
index cbc534d..12908ec 100644
--- a/include.pro
+++ b/include.pro
@@ -19,40 +19,51 @@ INSTALLS += control
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 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/
40etc.files = etc/*
41INSTALLS += etc
42
43apps.path = $$outdir/apps/
44apps.files = apps/*
45INSTALLS += apps
46
39# sounds, default path is $$outdir/sounds/$$TARGET 47# sounds, default path is $$outdir/sounds/$$TARGET
40sounds.path = $$outdir/sounds/$$TARGET 48sounds.path = $$outdir/sounds/$$TARGET
41sounds.files = sounds/* 49sounds.files = sounds/*
42INSTALLS += sounds 50INSTALLS += sounds
43 51
44# anything in nonstandard paths 52# anything in nonstandard paths
45root.path = / 53root.path = /
46root.files = root/* 54root.files = root/*
47INSTALLS += root 55INSTALLS += root
48 56
49# new targets 57# new targets
50 58
51lupdate.target = lupdate 59lupdate.target = lupdate
52lupdate.commands = lupdate -noobsolete $(PRO) 60lupdate.commands = lupdate -noobsolete $(PRO)
53 61
54lrelease.target = lrelease 62lrelease.target = lrelease
55lrelease.commands = lrelease $(PRO) 63lrelease.commands = lrelease $(PRO)
56 64
57QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease 65ipk.target = ipk
66ipk.commands = tmp=`mktemp -d /tmp/ipkg-opie.XXXXXXXXXX` && ( $(MAKE) DESTDIR="$$$$tmp" install && ipkg-build $$$$tmp; rm -rf $$$$tmp; )
67
68QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk
58 69