diff options
author | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-12-13 11:26:43 +0200 |
---|---|---|
committer | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-12-13 11:32:34 +0200 |
commit | 677e2575d31ff9c723de0cf8669e9c64bb677645 (patch) | |
tree | f81d60cd088f4c1afd0b85a5a6c8465337d92d29 | |
parent | 7af002f49a93fd0290c864a306bee876d74117e1 (diff) |
Changes: Do not build unnecessary empty docs, tests and benchmarks packages if they were disabled.
RevBy: Armin Berres
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 53043474..ce3cd941 100755 --- a/debian/rules +++ b/debian/rules @@ -44,11 +44,15 @@ endif # Disable building of tests by setting DEB_BUILD_OPTION=notests,... ifneq (,$(filter notests,$(TMP_BUILD_OPTS))) OPTIONS += -nomake tests + EXCLUSIONS += --no-package=libmeegotouch-tests + EXCLUSIONS += --no-package=libmeegotouch-tests-dbg endif # Disable building of benchmarks by setting DEB_BUILD_OPTION=nobenchmarks,... ifneq (,$(filter nobenchmarks,$(TMP_BUILD_OPTS))) OPTIONS += -nomake benchmarks + EXCLUSIONS += --no-package=libmeegotouch-benchmarks + EXCLUSIONS += --no-package=libmeegotouch-benchmarks-dbg endif # Disable building of demos by setting DEB_BUILD_OPTION=nodemos,... @@ -98,6 +102,7 @@ endif # Don't build documentation by setting DEB_BUILD_OPTION=nodocs,... ifneq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS))) MAKEDOCS = 0 + EXCLUSIONS += --no-package=libmeegotouch-doc endif |