Source: docbook-ebnf
Version: 1.2~cr1-5.1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
docbook-ebnf could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2016-05-29 17:04:58.972055023 +0100
--- b/debian/rules      2016-05-29 17:12:01.366562238 +0100
@@ -9,7 +9,7 @@
        set -ex ; \
        touch $@ ; \
        cat $@.start >> $@ ; \
-       for dbebnf in ebnf-* ; do \
+       for dbebnf in $(sort $(wildcard ebnf-*)) ; do \
                dbebnfver=`echo $${dbebnf} | sed -e 's/ebnf-//g'` ; \
                [ -f $${dbebnf}/dbebnf.dtd ] && \
                    echo "PUBLIC \"-//OASIS//DTD DocBook EBNF Module 
V$${dbebnfver}//EN\"" >> $@ && \
@@ -21,7 +21,7 @@
        set -ex ; \
        touch $@ ; \
        cat $@.start >> $@ ; \
-       for dbebnf in ebnf-* ; do \
+       for dbebnf in $(sort $(wildcard ebnf-*)) ; do \
                dbebnfver=`echo $${dbebnf} | sed -e 's/ebnf-//g'` ; \
                [ -f $${dbebnf}/dbebnf.dtd ] && \
                    echo "<public publicId=\"-//OASIS//DTD DocBook EBNF Module 
V$${dbebnfver}//EN\"" >> $@ && \
@@ -39,7 +39,7 @@
 debian/docbook-ebnf.install:
        set -ex ; \
        touch $@ ; \
-       for dbebnf in ebnf-* ; do \
+       for dbebnf in $(sort $(wildcard ebnf-*)) ; do \
                dbebnfver=`echo $${dbebnf} | sed -e 's/ebnf-//g'` ; \
                [ -f $${dbebnf}/dbebnf.dtd ] && \
                    echo "$${dbebnf}/dbebnf.dtd 
usr/share/xml/docbook/custom/ebnf/$${dbebnfver}" >> $@ ; \
@@ -57,7 +57,7 @@
        touch $@ ; \
        cat $@.in >> $@ ; \
        echo "local;$<;/usr/share/xml/docbook/custom/ebnf/catalog.xml" >> $@ ; \
-       for dbebnf in ebnf-* ; do \
+       for dbebnf in $(sort $(wildcard ebnf-*)) ; do \
                dbebnfver=`echo $${dbebnf} | sed -e 's/ebnf-//g'` ; \
                [ -f $${dbebnf}/dbebnf.dtd ] && \
                    echo -n "package;system;" >> $@ && \
_______________________________________________
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