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/package_all_platforms.sh
parentc47d084c27bb92ad861a75538f9eafa8a232b88c (diff)
downloadswift-contrib-b997b3cdc0ebd32e8be97e5c6265c6c15de7706a.zip
swift-contrib-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/package_all_platforms.sh')
-rwxr-xr-xSwift/Packaging/Debian/package_all_platforms.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/Swift/Packaging/Debian/package_all_platforms.sh b/Swift/Packaging/Debian/package_all_platforms.sh
new file mode 100755
index 0000000..47c6b82
--- /dev/null
+++ b/Swift/Packaging/Debian/package_all_platforms.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+## To get to this stage you need to already have the pbuilder-dist stuff installed, and have already run:
+# for distro in squeeze sid lucid maverick; do
+# for arch in i386 amd64; do
+# pbuilder-dist $distro $arch create
+# done
+# done
+
+export SWIFT_DEBUILD_FLAGS="-S"
+export SWIFT_FORCE_LUCID="yep"
+
+./package.sh
+
+for distro in lucid squeeze; do
+ for arch in i386 amd64; do
+ pbuilder-dist $distro $arch build *.dsc
+ done
+done
+
+unset SWIFT_FORCE_LUCID
+./package.sh
+
+for distro in maverick sid; do
+ for arch in i386 amd64; do
+ pbuilder-dist $distro $arch build *.dsc
+ done
+done
+