X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debconf_spec%2FMakefile;h=cdfd135d50d75802d5443a434e6859f13c1ac4cf;hb=8923e883eaadc169a6b12dd84c1d64927201f237;hp=a34ade79fdcdab2b15f34883486f0257fedc48f3;hpb=f959a8eb3c3c7e64d01ff139b000f606fdee79b3;p=debian%2Fdebian-policy.git diff --git a/debconf_spec/Makefile b/debconf_spec/Makefile index a34ade7..cdfd135 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 $@ + openjade -V nochunks -t sgml -d html.dsl \ + /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 -ncf9 $< > $@ + clean: rm -f *.css *.html *.txt *.txt.gz + +.DELETE_ON_ERROR: