Another small note about the patch:

On 04/28/2015 03:08 PM, Juan Picca wrote:
>>> --- a/docs/Makefile
>>> +++ b/docs/Makefile
>>> @@ -1,8 +1,10 @@
>>>  # Makefile for Sphinx documentation
>>>  #
>>> +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date -l../debian/changelog)
>>> +BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
>>>
>>>  # You can set these variables from the command line.
>>> -SPHINXOPTS    =
>>> +SPHINXOPTS    = -D today="$(BUILD_DATE)"
>>>  SPHINXBUILD   = sphinx-build
>>>  PAPER         =
>>>  BUILDDIR      = _build

The Makefile is already prepared to use SPHINXOPTS, so it is possible
to leave the upstream source completely unmodified and just pass adjusted
SPHINXOPTS via debian/rules.
An example is available in #782471 [1] or the wiki [2].

Regards,
 Reiner

[1]: https://bugs.debian.org/782471
[2]: 
https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to