summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-09-21 11:50:39 (UTC)
committer mickeyl <mickeyl>2003-09-21 11:50:39 (UTC)
commitbef84fa57fcb1ea5815ea55be7ac12b1a9df0c24 (patch) (unidiff)
tree9e1458ac3d4e7eb68068ae322b96f6e82470ab67
parent2fbd2230957098e5601d9d5c4b04a4af220afbce (diff)
downloadopie-bef84fa57fcb1ea5815ea55be7ac12b1a9df0c24.zip
opie-bef84fa57fcb1ea5815ea55be7ac12b1a9df0c24.tar.gz
opie-bef84fa57fcb1ea5815ea55be7ac12b1a9df0c24.tar.bz2
fix app building in non-quicklaunch-mode
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/include.pro b/include.pro
index 43efea5..70ed731 100644
--- a/include.pro
+++ b/include.pro
@@ -5,36 +5,37 @@ prefix = /opt/QtPalmtop
5 5
6contains( CONFIG, quick-app-lib ) { 6contains( CONFIG, quick-app-lib ) {
7 TEMPLATE = lib 7 TEMPLATE = lib
8 DESTDIR = $(OPIEDIR)/plugins/application 8 DESTDIR = $(OPIEDIR)/plugins/application
9 DEFINES += OPIE_APP_INTERFACE 9 DEFINES += OPIE_APP_INTERFACE
10 !contains( TARGET, launcher ) { 10 !contains( TARGET, launcher ) {
11 message( Linking $$TARGET to quicklauncher ) 11 message( Linking $$TARGET to quicklauncher )
12 system( rm -f $$(OPIEDIR)/bin/$$TARGET ) 12 system( rm -f $$(OPIEDIR)/bin/$$TARGET )
13 system( ln -s quicklauncher $$(OPIEDIR)/bin/$$TARGET ) 13 system( ln -s quicklauncher $$(OPIEDIR)/bin/$$TARGET )
14 } 14 }
15} 15}
16 16
17contains ( CONFIG, quick-app-bin ) { 17contains ( CONFIG, quick-app-bin ) {
18 TEMPLATE = app 18 TEMPLATE = app
19 DESTDIR = $(OPIEDIR)/bin 19 DESTDIR = $(OPIEDIR)/bin
20 DEFINES -= OPIE_APP_INTERFACE 20 DEFINES -= OPIE_APP_INTERFACE
21 message( Touching plugins/application/lib$$TARGET.so ) 21 message( Touching plugins/application/lib$${TARGET}.so )
22 system( touch $$(OPIEDIR)/plugins/application/lib$$TARGET.so ) 22 system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so )
23} 23}
24 24
25
25contains( TEMPLATE, lib ) { 26contains( TEMPLATE, lib ) {
26 target.path = $$prefix/lib 27 target.path = $$prefix/lib
27} 28}
28!contains( TEMPLATE, lib ) { 29!contains( TEMPLATE, lib ) {
29 target.path = $$prefix/bin 30 target.path = $$prefix/bin
30} 31}
31INSTALLS += target 32INSTALLS += target
32 33
33# ipkg control files 34# ipkg control files
34control.path = /CONTROL 35control.path = /CONTROL
35control.files = control postinst prerm postrm preinst conffiles 36control.files = control postinst prerm postrm preinst conffiles
36INSTALLS += control 37INSTALLS += control
37 38
38# images, default is $$prefix/pics/$$TARGET 39# images, default is $$prefix/pics/$$TARGET
39pics.path = $$prefix/pics/$$TARGET 40pics.path = $$prefix/pics/$$TARGET
40pics.files = pics/* 41pics.files = pics/*