summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-04-07 22:30:31 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-07 22:30:47 (GMT)
commit36eaae275b39340f44d8225a73ea129bc0c47464 (patch)
treef78207f707ccc88289ea42ba4bdcc33448256d5d /Swift
parentcc7f0bdf106dfa82e1b0a841db8af6522fe7bbca (diff)
downloadswift-contrib-36eaae275b39340f44d8225a73ea129bc0c47464.zip
swift-contrib-36eaae275b39340f44d8225a73ea129bc0c47464.tar.bz2
Adding flag for Debian building so we can just build source or binaries
Diffstat (limited to 'Swift')
-rwxr-xr-xSwift/Packaging/Debian/package.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh
index d693c0f..b825d2f 100755
--- a/Swift/Packaging/Debian/package.sh
+++ b/Swift/Packaging/Debian/package.sh
@@ -3,6 +3,9 @@
#If you want to share tar output (note: necessary if you want multiple archs with the same hashed tarballs)
# set SHARED_DIR - YOU MUST MAKE SURE YOU HAVE A TRAILING / ON SHARED_DIR
+# If you want to pass parameters to debuild, set them in SWIFT_DEBUILD_FLAGS
+# e.g. -S for just source, -b for just binaries
+
set -e -x
export PYTHONPATH=../../../BuildTools/SCons
@@ -88,4 +91,4 @@ cat ../../../COPYING | awk '/--- END OF OpenSSL/,EOF' | tail -n +3 >> $DIRNAME/d
# Build
cd $DIRNAME
set +e
-debuild -i -I --lintian-opts --pedantic
+debuild -i -I ${SWIFT_DEBUILD_FLAGS} --lintian-opts --pedantic