[Pkg-javascript-commits] [mathjax-docs] 01/01: Make the build reproducible.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Wed Jun 24 08:56:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository mathjax-docs.
commit b8bad2c6b8da98e093e21e6c15a12dc117085ff9
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Wed Jun 24 11:56:01 2015 +0300
Make the build reproducible.
Thanks Juan Picca for the patch.
---
debian/changelog | 7 +++++++
debian/control | 2 +-
debian/rules | 5 ++++-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index bd8e365..25e218d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mathjax-docs (2.5+20150415-2) UNRELEASED; urgency=medium
+
+ * Make the build reproducible (closes: #789752, thanks Juan Picca for
+ the patch).
+
+ -- Dmitry Shachnev <mitya57 at debian.org> Wed, 24 Jun 2015 11:54:13 +0300
+
mathjax-docs (2.5+20150415-1) unstable; urgency=medium
* New upstream snapshot.
diff --git a/debian/control b/debian/control
index cc1c3ab..d4d19c0 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: doc
Priority: optional
Maintainer: Dmitry Shachnev <mitya57 at debian.org>
Uploaders: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), python3-sphinx
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.17.0), python3-sphinx
Standards-Version: 3.9.6
Homepage: https://github.com/mathjax/mathjax-docs
Vcs-Git: git://anonscm.debian.org/pkg-javascript/mathjax-docs.git
diff --git a/debian/rules b/debian/rules
index b11dc08..f497b4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,14 @@
#!/usr/bin/make -f
# -*- makefile -*-
+LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
+BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+
%:
dh $@ --with sphinxdoc
override_dh_auto_build:
- sphinx-build . html
+ sphinx-build -D today="$(BUILD_DATE)" . html
override_dh_auto_clean:
rm -rf html
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/mathjax-docs.git
More information about the Pkg-javascript-commits
mailing list