[Pkg-javascript-commits] [acorn] 03/03: Simpler date parsing for the manpages

Julien Puydt julien.puydt at laposte.net
Wed Dec 14 16:24:13 UTC 2016


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

jpuydt-guest pushed a commit to branch master
in repository acorn.

commit 338c87415fb6d3a9879d0ae15736e770460911b1
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Dec 14 10:19:00 2016 +0100

    Simpler date parsing for the manpages
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6182b97..c8c2b48 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
+BUILD_DATE=$(shell dpkg-parsechangelog -SDate | LC_ALL=C date -u "+%d %B %Y" -f -)
 MANPAGES := $(subst .xml,, $(wildcard debian/man/*.*.xml))
 
 SOURCES = $(shell find src/ -name "*.js")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/acorn.git



More information about the Pkg-javascript-commits mailing list