From e81e9c607b3017d8b387283bd1658a9769f7d5c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Hertzog?= Date: Wed, 11 May 2016 11:41:36 +0200 Subject: [PATCH] Update build system to rely on "dpkg-parsechangelog -S Version" instead of outdated VERSION file. --- VERSION | 1 - debian/changelog | 7 +++++++ manpages/Makefile | 2 +- manpages/bin/update-version.sh | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 VERSION 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)" -- 2.1.4