[med-svn] [kmc] 01/02: make ronn output reproducible
Sascha Steinbiss
sascha at steinbiss.name
Wed Mar 9 00:58:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository kmc.
commit 41c1073c8a247028b626ea80426e0446e152d363
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date: Wed Mar 9 00:57:56 2016 +0000
make ronn output reproducible
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3958335..0e9c1f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@ export DH_VERBOSE := 1
DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9-]*://' -e 's/[~-].*//')
OVERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[+].*//')
+DATE := $(shell dpkg-parsechangelog -S Date)
+SHORTDATE := $(shell date -d '$(DATE)' +%Y-%m-%d)
mandir := $(CURDIR)/debian/man
debfolder := $(CURDIR)/debian
@@ -22,7 +24,7 @@ override_dh_auto_clean:
override_dh_installman:
mkdir -p $(mandir)
$(debfolder)/usage_to_man
- ronn $(debfolder)/man_src/*.ronn
+ ronn --date=$(SHORTDATE) $(debfolder)/man_src/*.ronn
cp $(debfolder)/man_src/*.? $(mandir)
dh_installman --
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/kmc.git
More information about the debian-med-commit
mailing list