diff options
| author | Kevin Smith <git@kismith.co.uk> | 2012-04-07 22:30:31 (GMT) | 
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2012-04-07 22:30:47 (GMT) | 
| commit | 36eaae275b39340f44d8225a73ea129bc0c47464 (patch) | |
| tree | f78207f707ccc88289ea42ba4bdcc33448256d5d /Swift | |
| parent | cc7f0bdf106dfa82e1b0a841db8af6522fe7bbca (diff) | |
| download | swift-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-x | Swift/Packaging/Debian/package.sh | 5 | 
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 @@ -1,14 +1,17 @@  #!/bin/sh  #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  VERSION=${VERSION:=`../../../BuildTools/GetBuildVersion.py swift`}  DEBIAN_VERSION=`../../../BuildTools/DebianizeVersion.py $VERSION`  DIRNAME=swift-im-$DEBIAN_VERSION  SWIFTEN_SOVERSION=`../../../BuildTools/GetBuildVersion.py swift --major`  if [ -z "$SHARED_DIR" ]; then @@ -82,10 +85,10 @@ else  fi  cat $DIRNAME/debian/control.in | sed -e "s/%SWIFTEN_SOVERSION%/$SWIFTEN_SOVERSION/g" | sed -e "s/%WEBKIT_DEPENDENCY%/$WEBKIT_DEPENDENCY/g" > $DIRNAME/debian/control  rm $DIRNAME/debian/control.in  mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install  cat ../../../COPYING | awk '/--- END OF OpenSSL/,EOF' | tail -n +3 >> $DIRNAME/debian/copyright  # Build  cd $DIRNAME  set +e -debuild -i -I --lintian-opts --pedantic +debuild -i -I ${SWIFT_DEBUILD_FLAGS} --lintian-opts --pedantic | 
 Swift
 Swift