aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTomas Junnonen <tomas.junnonen@nokia.com>2010-03-22 19:00:48 +0200
committerTomas Junnonen <tomas.junnonen@nokia.com>2010-03-23 19:40:49 +0200
commitd0e0fb07f1b3277640a34d194ead19401c66891c (patch)
tree75cab4479e946c0a37a2c3506ffa9345737a3c39 /configure
parent50452542ce2965c9da4860ba9973cd3d8e04022e (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-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index ca288fa1..1e0cfa75 100755
--- a/configure
+++ b/configure
@@ -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"