aboutsummaryrefslogtreecommitdiffstats
path: root/pythonextensions.pro
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-09-14 13:52:32 +0200
committerEike Ziller <eike.ziller@qt.io>2018-09-17 10:44:49 +0000
commita33fc09a091f73ca3cc3192dfc88218883aed1c9 (patch)
treee6368a2ed07364067934cd56a5a6038a9113e29d /pythonextensions.pro
parentebbaa352fcfac361479c56192ac6cba4dcc87efb (diff)
Add "copyexamples" make target for copying all the examples to the build
And remove examples/package.py, which is basically just a zip call anyhow. Change-Id: I70ae585f9919dc3e9a6fb8bfe8feee26c4b72ab1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'pythonextensions.pro')
-rw-r--r--pythonextensions.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/pythonextensions.pro b/pythonextensions.pro
index 5d5804d..b884dd9 100644
--- a/pythonextensions.pro
+++ b/pythonextensions.pro
@@ -3,8 +3,13 @@ TEMPLATE = subdirs
SUBDIRS += \
pythonextensions \
python \
- optional
+ optional \
+ examples
pythonextensions.subdir = plugins/pythonextensions
optional.depends = pythonextensions
+
+copyexamples.CONFIG += recursive
+copyexamples.recurse = examples
+QMAKE_EXTRA_TARGETS += copyexamples