From: Raphaël Hertzog Date: Wed, 11 May 2016 09:41:36 +0000 (+0200) Subject: Update build system to rely on "dpkg-parsechangelog -S Version" instead of outdated... X-Git-Tag: debian/1%20160511~5 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=e81e9c607b3017d8b387283bd1658a9769f7d5c3;p=live-boot-grml.git Update build system to rely on "dpkg-parsechangelog -S Version" instead of outdated VERSION file. --- diff --git a/VERSION b/VERSION deleted file mode 100644 index 7137d96..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -5.0~a5-1 diff --git a/debian/changelog b/debian/changelog index 8c03dbc..b4514da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +live-boot (1:20160511) UNRELEASED; urgency=medium + + * Update build system to rely on "dpkg-parsechangelog -S Version" instead + of outdated VERSION file. + + -- Raphaël Hertzog Wed, 11 May 2016 11:40:37 +0200 + live-boot (1:20151213) unstable; urgency=medium [ Iain R. Learmonth ] diff --git a/manpages/Makefile b/manpages/Makefile index 122e7d6..d6c9e3a 100644 --- a/manpages/Makefile +++ b/manpages/Makefile @@ -30,7 +30,7 @@ build: check po4a.cfg exit 1; \ fi - po4a --copyright-holder "Live Systems Project" --keep 0 --package-name live-boot --package-version $(shell cat ../VERSION) po4a.cfg + po4a --copyright-holder "Live Systems Project" --keep 0 --package-name live-boot --package-version $(shell dpkg-parsechangelog -S Version) po4a.cfg clean: rm -rf $(LANGUAGES) diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh index bfa6fbb..c549429 100755 --- a/manpages/bin/update-version.sh +++ b/manpages/bin/update-version.sh @@ -11,7 +11,7 @@ set -e PROGRAM="LIVE\\\-BOOT" -VERSION="$(cat ../VERSION)" +VERSION="$(dpkg-parsechangelog -S Version)" DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)"