summaryrefslogtreecommitdiff
authorzecke <zecke>2004-11-15 15:11:51 (UTC)
committer zecke <zecke>2004-11-15 15:11:51 (UTC)
commit3b935c93d5576e6590ed89c75066983124e2c628 (patch) (unidiff)
treeb3592abd50a89e4abf50e7529c8bc0a81787acdb
parent74febba2749d3a8eefc13c1f46a0f7f5fc095d5a (diff)
downloadopie-3b935c93d5576e6590ed89c75066983124e2c628.zip
opie-3b935c93d5576e6590ed89c75066983124e2c628.tar.gz
opie-3b935c93d5576e6590ed89c75066983124e2c628.tar.bz2
Define QUICKAPP_NAME on quicklaunchanble applications. This way .pro and
the mainwindow are always in sync with each other
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--include.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/include.pro b/include.pro
index 0dc941b..ffdba16 100644
--- a/include.pro
+++ b/include.pro
@@ -6,23 +6,26 @@ prefix = $(OPIEDIR)
6 6
7contains( CONFIG, quick-app-lib ) { 7contains( CONFIG, quick-app-lib ) {
8 TEMPLATE = lib 8 TEMPLATE = lib
9 CONFIG += plugin # "plugin" will be removed automatically later if not MacOSX ! (eilers) 9 CONFIG += plugin # "plugin" will be removed automatically later if not MacOSX ! (eilers)
10 DESTDIR = $(OPIEDIR)/plugins/application 10 DESTDIR = $(OPIEDIR)/plugins/application
11 DEFINES += OPIE_APP_INTERFACE 11 DEFINES += OPIE_APP_INTERFACE
12 DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
13
12 !contains( TARGET, launcher ) { 14 !contains( TARGET, launcher ) {
13 message( Linking $$TARGET to quicklauncher ) 15 message( Linking $$TARGET to quicklauncher )
14 system( rm -f $$(OPIEDIR)/bin/$$TARGET ) 16 system( rm -f $$(OPIEDIR)/bin/$$TARGET )
15 system( ln -sf $$QUICKLAUNCH_PATH $$(OPIEDIR)/bin/$$TARGET ) 17 system( ln -sf $$QUICKLAUNCH_PATH $$(OPIEDIR)/bin/$$TARGET )
16 } 18 }
17} 19}
18 20
19contains ( CONFIG, quick-app-bin ) { 21contains ( CONFIG, quick-app-bin ) {
20 TEMPLATE = app 22 TEMPLATE = app
21 DESTDIR = $(OPIEDIR)/bin 23 DESTDIR = $(OPIEDIR)/bin
22 DEFINES -= OPIE_APP_INTERFACE 24 DEFINES -= OPIE_APP_INTERFACE
25 DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
23 message( Touching plugins/application/lib$${TARGET}.so.0 ) 26 message( Touching plugins/application/lib$${TARGET}.so.0 )
24 system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so.0 ) 27 system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so.0 )
25} 28}
26 29
27 30
28contains( TEMPLATE, lib ) { 31contains( TEMPLATE, lib ) {