mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Add utopic and precise to Ubuntu packaging
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a981619b67
commit
bac2b92860
1 changed files with 8 additions and 1 deletions
|
@ -28,10 +28,17 @@ cp ../subsurface/packaging/ubuntu/debian/rules debian/rules
|
||||||
cp ../subsurface/packaging/ubuntu/debian/source.lintian-overrides debian/source.lintian-overrides
|
cp ../subsurface/packaging/ubuntu/debian/source.lintian-overrides debian/source.lintian-overrides
|
||||||
# do something clever with changelog
|
# do something clever with changelog
|
||||||
mv debian/changelog debian/autocl
|
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
|
cat ../subsurface/packaging/ubuntu/debian/changelog >> debian/changelog
|
||||||
tail -1 debian/autocl >> debian/changelog
|
tail -1 debian/autocl >> debian/changelog
|
||||||
rm -f debian/autocl
|
rm -f debian/autocl
|
||||||
|
|
||||||
debuild -S
|
debuild -S
|
||||||
|
|
||||||
|
prev=trusty
|
||||||
|
for rel in utopic precise
|
||||||
|
do
|
||||||
|
sed -i "s/${prev}/${rel}/g" debian/changelog
|
||||||
|
debuild -S
|
||||||
|
prev=${rel}
|
||||||
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue