[Apt-listbugs-commits] [apt-listbugs] 02/03: simplify version extraction in Makefile

Francesco Poli frx-guest at moszumanska.debian.org
Mon Feb 17 22:00:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

frx-guest pushed a commit to branch master
in repository apt-listbugs.

commit 9f2e9a8671836016427c4b772499685499be7506
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Sun Feb 16 23:36:48 2014 +0100

    simplify version extraction in Makefile
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ee780a0..71e88c6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 LINGUAS := $(shell cd po; ls *.po| cut -d'.' -f1)
 MOFILES := $(patsubst %.po,%.mo,$(wildcard po/*.po))
-VERSION := $(shell env LC_ALL=C dpkg-parsechangelog | sed -n 's/^Version: //p')
+VERSION := $(shell dpkg-parsechangelog -SVersion)
 YEAR := $(shell dpkg-parsechangelog -SDate | cut -d ' ' -f 4)
 
 .PHONY: all

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/apt-listbugs/apt-listbugs.git



More information about the Apt-listbugs-commits mailing list