mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Small fix for Ubuntu builds
This makes the code slightly less error prone, I hope. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c564e06d4e
commit
2aeb2b8d8b
1 changed files with 9 additions and 29 deletions
|
@ -81,35 +81,15 @@ cp debian/changelog ~/src/debian.changelog
|
||||||
|
|
||||||
debuild -S
|
debuild -S
|
||||||
|
|
||||||
# and now for utopic
|
#create builds for the newer Ubuntu releases that Launchpad supports
|
||||||
prev=trusty
|
rel=trusty
|
||||||
rel=utopic
|
others="vivid wily xenial yakkety"
|
||||||
sed -i "s/${prev}/${rel}/g" debian/changelog
|
for next in $others
|
||||||
debuild -S
|
do
|
||||||
|
sed -i "s/${rel}/${next}/g" debian/changelog
|
||||||
# and now for vivid
|
debuild -S
|
||||||
prev=utopic
|
rel=$next
|
||||||
rel=vivid
|
done
|
||||||
sed -i "s/${prev}/${rel}/g" debian/changelog
|
|
||||||
debuild -S
|
|
||||||
|
|
||||||
# and now for wily
|
|
||||||
prev=vivid
|
|
||||||
rel=wily
|
|
||||||
sed -i "s/${prev}/${rel}/g" debian/changelog
|
|
||||||
debuild -S
|
|
||||||
|
|
||||||
# and now for xenial
|
|
||||||
prev=wily
|
|
||||||
rel=xenial
|
|
||||||
sed -i "s/${prev}/${rel}/g" debian/changelog
|
|
||||||
debuild -S
|
|
||||||
|
|
||||||
# and now for yakkety
|
|
||||||
prev=wily
|
|
||||||
rel=yakkety
|
|
||||||
sed -i "s/${prev}/${rel}/g" debian/changelog
|
|
||||||
debuild -S
|
|
||||||
|
|
||||||
# and now for precise (precise can't build Qt5 based packages)
|
# and now for precise (precise can't build Qt5 based packages)
|
||||||
# with the switch to cmake the amount of effort to build Qt4 packages
|
# with the switch to cmake the amount of effort to build Qt4 packages
|
||||||
|
|
Loading…
Add table
Reference in a new issue