Steffen Möller pushed to branch master at Debian Med / emperor


Commits:
967a1e5e by Steffen Moeller at 2021-08-14T12:55:55+02:00
Small patch towards reproducible builds

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -16,6 +16,18 @@ export PYBUILD_BEFORE_INSTALL=rm -rvf 
{build_dir}/emperor.egg* \
 %:
        dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
+override_dh_installdocs:
+       dh_installdocs
+       p="debian/python3-emperor-doc/usr/share/doc/python3-emperor/jsdoc" ; \
+       if [ -d "$$p" ]; then \
+         echo "I: Removing date from jsdoc signature line for reproducible 
builds in $$p" ; \
+         sed -i \
+          's%Documentation generated by.*%Documentation generated by <a 
href="http://code.google.com/p/jsdoc-toolkit/"; target="_blankt">JsDoc 
Toolkit</a>.%' \
+          `find $$p -name "*.html"` ; \
+       else \
+         echo "W: Directory '$$p' not found." ; \
+       fi
+
 override_dh_auto_test:
        if [ ! -d tests/javascript_tests/qunit/ ]; then \
                mkdir tests/javascript_tests/qunit ; \



View it on GitLab: 
https://salsa.debian.org/med-team/emperor/-/commit/967a1e5ea60fa76f49eef64ce536440715bdf54d

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/emperor/-/commit/967a1e5ea60fa76f49eef64ce536440715bdf54d
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to