X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debconf_spec%2FMakefile;h=ba5c251622ef634c30d65f01a1903c271222bdba;hb=b87a4e0b35fdbe9623e26b94929735a4db18739f;hp=59b0dd7cb0617d725d0b3910aa1a54eaf7a56e7a;hpb=2a0ff03e2c37c1cf40f65c6ec8bac58f9cfc0c66;p=debian%2Fdebian-policy.git diff --git a/debconf_spec/Makefile b/debconf_spec/Makefile index 59b0dd7..ba5c251 100644 --- a/debconf_spec/Makefile +++ b/debconf_spec/Makefile @@ -1,12 +1,17 @@ -all: debconf_specification.txt debconf_specification.html +all: debconf_specification.txt.gz debconf_specification.html %.html: %.xml html.dsl jade -V nochunks -t sgml -d html.dsl \ - /usr/lib/sgml/declaration/xml.dcl $< > $@ - -tidy -i -m -f /dev/null $@ + /usr/share/xml/declaration/xml.dcl $< > $@ + -tidy -q -i -m -f /dev/null $@ %.txt: %.html links -dump $< | perl -pe 's/[\r\0]//g' > $@ +%.txt.gz: %.txt + gzip -cf9 $< > $@ + clean: - rm -f *.css *.html *.txt + rm -f *.css *.html *.txt *.txt.gz + +.DELETE_ON_ERROR: