X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debconf_spec%2FMakefile;h=ba5c251622ef634c30d65f01a1903c271222bdba;hb=772805dafad99de08f67274e2320a70c198b8d90;hp=a34ade79fdcdab2b15f34883486f0257fedc48f3;hpb=d2522d495e1f29517ad04d4413650355859b883a;p=debian%2Fdebian-policy.git diff --git a/debconf_spec/Makefile b/debconf_spec/Makefile index a34ade7..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 *.txt.gz + +.DELETE_ON_ERROR: