summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-03 21:58:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-07 09:42:14 -0600
commitbac2b928603d579cb7bb71a8984a3fa3cd847613 (patch)
tree15d3072df36f30289ce8cff9ca0a62597f5bfb0a /packaging
parenta981619b673adfd791ef9166e64c0b43473e79e3 (diff)
downloadsubsurface-bac2b928603d579cb7bb71a8984a3fa3cd847613.tar.gz
Add utopic and precise to Ubuntu packaging
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/ubuntu/make-package.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/ubuntu/make-package.sh b/packaging/ubuntu/make-package.sh
index 02a7bf02c..41c294ad8 100644
--- a/packaging/ubuntu/make-package.sh
+++ b/packaging/ubuntu/make-package.sh
@@ -28,10 +28,17 @@ cp ../subsurface/packaging/ubuntu/debian/rules debian/rules
cp ../subsurface/packaging/ubuntu/debian/source.lintian-overrides debian/source.lintian-overrides
# do something clever with changelog
mv debian/changelog debian/autocl
-head -1 debian/autocl | sed -e 's/unstable/trusty/' > debian/changelog
+head -1 debian/autocl | sed -e 's/)/~trusty)/' -e 's/unstable/trusty/' > debian/changelog
cat ../subsurface/packaging/ubuntu/debian/changelog >> debian/changelog
tail -1 debian/autocl >> debian/changelog
rm -f debian/autocl
debuild -S
+prev=trusty
+for rel in utopic precise
+do
+ sed -i "s/${prev}/${rel}/g" debian/changelog
+ debuild -S
+ prev=${rel}
+done