Commit 881800a9 authored by Axel Beckert's avatar Axel Beckert

Finally eradicate the last few non-deterministic bits

Overwrite  the time needed to generate the documentation with a
hardcoded value to make the build reproducible.
parent 15db147e
mp4h (1.3.1-14) unstable; urgency=medium
* Finally eradicate the last few non-deterministic bits in the
documentation by overwritting the time needed to generate the
documentation with a hardcoded value to make the build reproducible.
-- Axel Beckert <abe@debian.org> Fri, 06 May 2016 17:44:34 +0200
mp4h (1.3.1-13) unstable; urgency=medium
* Run documentation generation under TZ=UTC. Should make the build more
......
......@@ -70,6 +70,19 @@ override_dh_auto_install:
sed -e "/dependency_libs/ s/'.*'/''/" \
-i "`find $(CURDIR)/debian/mp4h/usr/lib -name gettext.la`"
-find $(CURDIR)/debian/mp4h -type d -empty -delete
# The "user" value depends on the time needed to generate the
# documentation and hence varies _always_. But since this is
# just an example value, we retroactively hardcode it to a
# fixed value so that the package builds reproducible.
sed -e 's/user [0-9][0-9]*/user 23/g' -i debian/mp4h/usr/share/man/man1/mp4h.1
override_dh_installdocs:
dh_installdocs
# The "user" value depends on the time needed to generate the
# documentation and hence varies _always_. But since this is
# just an example value, we retroactively hardcode it to a
# fixed value so that the package builds reproducible.
sed -e 's/^user [0-9][0-9]*/user 23/' -i debian/mp4h/usr/share/doc/mp4h/mp4h.html
override_dh_makeshlibs:
# NOOP to avoid lintian warning
......
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