[med-svn] [snpomatic] 01/02: make ronn output reproducible

Sascha Steinbiss sascha at steinbiss.name
Wed Mar 9 01:05:30 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository snpomatic.

commit 7ad0a6b80d4700c99dcadd507fa4466cc3eedfb0
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Wed Mar 9 01:00:59 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 1391bab..5a285db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@ export DH_VERBOSE := 1
 
 mandir := $(CURDIR)/debian/man
 debfolder := $(CURDIR)/debian
+DATE := $(shell dpkg-parsechangelog -S Date)
+SHORTDATE := $(shell date -d '$(DATE)' +%Y-%m-%d)
 export LC_ALL=C
 
 %:
@@ -34,5 +36,5 @@ override_dh_auto_install:
 	#cp ungap $(debfolder)/snpomatic/usr/bin
 
 override_dh_installman:
-	ronn debian/findknownsnps.1.ronn
+	ronn --date=$(SHORTDATE) debian/findknownsnps.1.ronn
 	dh_installman --

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



More information about the debian-med-commit mailing list