From 36eaae275b39340f44d8225a73ea129bc0c47464 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Sat, 7 Apr 2012 22:30:31 +0000 Subject: Adding flag for Debian building so we can just build source or binaries 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 -- cgit v0.10.2-6-g49f6