Commit dca9ed34 authored by Axel Beckert's avatar Axel Beckert

Add comments for the reproducibility hacks in debian/rules

Thanks to Chris Lamb for the suggestion.
parent bf27156f
...@@ -2,6 +2,8 @@ mp4h (1.3.1-13) UNRELEASED; urgency=medium ...@@ -2,6 +2,8 @@ mp4h (1.3.1-13) UNRELEASED; urgency=medium
* Run documentation generation under TZ=UTC. Should make the build more * Run documentation generation under TZ=UTC. Should make the build more
reproducible. reproducible.
* Add comments for the reproducibility hacks in debian/rules like
fakeroot and friends. Thanks to Chris Lamb for the suggestion.
-- Axel Beckert <abe@debian.org> Tue, 29 Dec 2015 21:58:27 +0100 -- Axel Beckert <abe@debian.org> Tue, 29 Dec 2015 21:58:27 +0100
......
...@@ -37,6 +37,13 @@ override_dh_auto_configure: ...@@ -37,6 +37,13 @@ override_dh_auto_configure:
--with-tidy=/usr/bin/tidy --with-tidy=/usr/bin/tidy
override_dh_auto_build: override_dh_auto_build:
# fakeroot and timezone setting are necessary to help to make
# the build reproducible as the documentation lists e.g. the
# user name under which the documentation is built and you
# can't easily patch that out as the documentation shows off
# every feature it describes. So if you remove a feature, you
# need to remove its example and hence the feature would be
# half missing in the documentation.
env TZ=UTC fakeroot dh_auto_build env TZ=UTC fakeroot dh_auto_build
override_dh_auto_clean: override_dh_auto_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment