summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
+