diff options
author | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-03-22 19:00:48 +0200 |
---|---|---|
committer | Tomas Junnonen <tomas.junnonen@nokia.com> | 2010-03-23 19:40:49 +0200 |
commit | d0e0fb07f1b3277640a34d194ead19401c66891c (patch) | |
tree | 75cab4479e946c0a37a2c3506ffa9345737a3c39 /configure | |
parent | 50452542ce2965c9da4860ba9973cd3d8e04022e (diff) |
Changes: Added support for "minimal" debian build
RevBy: TrustMe
Details: By building a package like this:
DEB_BUILD_OPTIONS=minimal dpkg-buildpackage -rfakeroot
you will not get unit tests, benchmarks, or demos other than widgetsgallery.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -56,6 +56,7 @@ CFG_TESTABLE=no CFG_COVERAGE=no CFG_TIMESTAMPS=no CFG_DEV=no +CFG_MINIMAL=no CFG_BUILD_TESTS=no CFG_BUILD_BENCHMARKS=no CFG_BUILD_PLAINQT=no @@ -115,7 +116,7 @@ while [ "$#" -gt 0 ]; do VAL=no ;; #Qt style yes options - -h|-help|-v|-verbose|-debug|-release|-testable|-coverage|-timestamps|-dev) + -h|-help|-v|-verbose|-debug|-release|-testable|-coverage|-timestamps|-dev|-minimal) VAR=`echo $1 | sed "s,^-\(.*\),\1,"` VAL=yes ;; @@ -210,6 +211,9 @@ while [ "$#" -gt 0 ]; do CFG_BUILD_BENCHMARKS="yes" CFG_BUILD_PLAINQT="yes" ;; + minimal) + CFG_MINIMAL="yes" + ;; tests) CFG_BUILD_TESTS="yes" ;; @@ -449,6 +453,10 @@ if [ "$CFG_COVERAGE" = "yes" ]; then DUICONFIG_FEATURES="$DUICONFIG_FEATURES coverage" fi +if [ "$CFG_MINIMAL" = "yes" ]; then + DUICONFIG_FEATURES="$DUICONFIG_FEATURES minimal" +fi + if [ "$HAVE_ICU" = "yes" ]; then DUICONFIG_DEPS="$DUICONFIG_DEPS HAVE_ICU" |