aboutsummaryrefslogtreecommitdiff
path: root/projects.pro
diff options
context:
space:
mode:
authorTomas Junnonen <tomas.junnonen@nokia.com>2010-06-06 15:11:18 +0300
committerTomas Junnonen <tomas.junnonen@nokia.com>2010-06-06 15:59:14 +0300
commit5ae3fde0019b9a7300ae2efba3d5492f9760d73f (patch)
treedb0069a8071b159a25bebdc7d65281df9d8e981d /projects.pro
parent5ac7aa33b360e540efe62cd05466bb62cda1b22f (diff)
Changes: Added "make setup" target
RevBy: TrustMe Details: Installs the prerequisites for running the demo apps inside the build tree without installing libmeegotouch itself to the system.
Diffstat (limited to 'projects.pro')
-rw-r--r--projects.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/projects.pro b/projects.pro
index 8ddd1f67..48610d25 100644
--- a/projects.pro
+++ b/projects.pro
@@ -102,3 +102,12 @@ QMAKE_EXTRA_TARGETS += check
check-xml.target = check-xml
check-xml.CONFIG = recursive
QMAKE_EXTRA_TARGETS += check-xml
+
+# "make setup" can be used to install the minimal necessary data to run the
+# MeeGo Touch demo applications inside the build tree.
+setup.target = setup
+setup.CONFIG += no_check_exist
+setup.commands = mkdir -p $$M_INSTALL_SYSCONF/meegotouch
+setup.commands += && cp src/data/devices.conf $$M_INSTALL_SYSCONF/meegotouch
+setup.commands += && GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule src/data/meegotouch.schemas
+QMAKE_EXTRA_TARGETS += setup