Update build system to rely on "dpkg-parsechangelog -S Version" instead of outdated...
authorRaphaël Hertzog <hertzog@debian.org>
Wed, 11 May 2016 09:41:36 +0000 (11:41 +0200)
committerRaphaël Hertzog <hertzog@debian.org>
Wed, 11 May 2016 09:41:36 +0000 (11:41 +0200)
VERSION [deleted file]
debian/changelog
manpages/Makefile
manpages/bin/update-version.sh

diff --git a/VERSION b/VERSION
deleted file mode 100644 (file)
index 7137d96..0000000
--- a/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-5.0~a5-1
index 8c03dbc..b4514da 100644 (file)
@@ -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 <hertzog@debian.org>  Wed, 11 May 2016 11:40:37 +0200
+
 live-boot (1:20151213) unstable; urgency=medium
 
   [ Iain R. Learmonth ]
index 122e7d6..d6c9e3a 100644 (file)
@@ -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)
index bfa6fbb..c549429 100755 (executable)
@@ -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)"