Fix "make install" to not build examples and tests
authorAndy Nichols <andy.nichols@nokia.com>
Wed, 6 Jun 2012 13:51:27 +0000 (15:51 +0200)
committerAndy Nichols <andy.nichols@nokia.com>
Wed, 6 Jun 2012 14:50:54 +0000 (16:50 +0200)
Before this commit, make install would always end up building
the examples and tests, even if qtbase was configured not to.

Change-Id: I898e1125a343a8e2749a055f4bd886256026de9d
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
qtwayland.pro

index 377ee24..44d68b4 100644 (file)
@@ -14,7 +14,8 @@ module_qtwayland_examples.depends = module_qtwayland_src
 module_qtwayland_tests.subdir = tests
 module_qtwayland_tests.target = module-qtwayland-tests
 module_qtwayland_tests.depends = module_qtwayland_src
-!contains(QT_BUILD_PARTS,tests):!with-tests {
+module_qtwayland_tests.CONFIG = no_default_install
+!contains(QT_BUILD_PARTS,tests):{
     module_qtwayland_tests.CONFIG += no_default_target
 }