[pdal] 01/02: Set today in SPHINXOPTS for reproducible builds.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Thu Mar 24 05:45:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pdal.
commit 97a845319a046dffdcce494006015b3025f68210
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Mar 23 23:39:03 2016 +0100
Set today in SPHINXOPTS for reproducible builds.
---
debian/changelog | 1 +
debian/rules | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 39543f6..2eda782 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
pdal (1.1.0-4) UNRELEASED; urgency=medium
* Update symbols for kfreebsd-* & mips64el.
+ * Set today in SPHINXOPTS for reproducible builds.
-- Bas Couwenberg <sebastic at debian.org> Wed, 23 Mar 2016 21:48:09 +0100
diff --git a/debian/rules b/debian/rules
index 13a3e19..9bbc74a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,9 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
CXXFLAGS += $(CPPFLAGS)
-UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
-BUILD_DATE = $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
+UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+BUILD_DATE = $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%d %B %Y" -f -)
+SPHINX_BUILD_DATE = $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%B %d, %Y" -f -)
MANPAGES := $(wildcard debian/man/*.*.xml)
@@ -52,7 +53,7 @@ override_dh_auto_build:
dh_auto_build
- sphinx-build doc/ doc/html/
+ SPHINXOPTS="-D today=\"$(SPHINX_BUILD_DATE)\"" sphinx-build doc/ doc/html/
override_dh_auto_test:
# Exclude tests:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pdal.git
More information about the Pkg-grass-devel
mailing list