summaryrefslogtreecommitdiffstats
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-25 12:41:07 (GMT)
commitb997b3cdc0ebd32e8be97e5c6265c6c15de7706a (patch)
tree3d8123cc93163d763511a996c4f5921efdbb176b /Swift/Packaging/Debian/build_for_debian.sh
parentc47d084c27bb92ad861a75538f9eafa8a232b88c (diff)
downloadswift-b997b3cdc0ebd32e8be97e5c6265c6c15de7706a.zip
swift-b997b3cdc0ebd32e8be97e5c6265c6c15de7706a.tar.bz2
Improvements to Debian packaging.
Allows packaging of just source, and script for using pbuilder. Adding build-arch and build-indep targets to satisfy lintian Fix caps on Olly's surname in Debian packaging Add script to build with non-generated changelog
Diffstat (limited to 'Swift/Packaging/Debian/build_for_debian.sh')
-rwxr-xr-xSwift/Packaging/Debian/build_for_debian.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/Swift/Packaging/Debian/build_for_debian.sh b/Swift/Packaging/Debian/build_for_debian.sh
new file mode 100755
index 0000000..3d79177
--- /dev/null
+++ b/Swift/Packaging/Debian/build_for_debian.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+echo "** CHECK YOU'VE UPDATED THE CHANGELOG **"
+export CHANGELOG=changelog.debian-unstable
+export SWIFT_DEBUILD_FLAGS="-S"
+
+./package.sh
+
+for arch in i386 amd64; do
+ pbuilder-dist sid $arch build *.dsc
+done