[Pkg-ocaml-maint-commits] [calendar] 11/12: Use last changelog entry for build date (for reproducibility)

Stéphane Glondu glondu at moszumanska.debian.org
Wed May 20 17:36:39 UTC 2015


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

glondu pushed a commit to branch master
in repository calendar.

commit 0ff33c805e65e9e849fcf87de5477a23129bc2d1
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue May 19 11:00:54 2015 +0200

    Use last changelog entry for build date (for reproducibility)
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0d78581..147c221 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,9 @@ override_dh_auto_configure:
 	done
 	./configure
 
+override_dh_auto_build:
+	make BUILD_DATE="$(shell dpkg-parsechangelog --show-field Date)"
+
 override_dh_auto_install:
 	mkdir -p $(OCAMLFIND_DESTDIR)
 	make install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/calendar.git



More information about the Pkg-ocaml-maint-commits mailing list