X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debconf_spec%2FMakefile;h=cdfd135d50d75802d5443a434e6859f13c1ac4cf;hb=8923e883eaadc169a6b12dd84c1d64927201f237;hp=59b0dd7cb0617d725d0b3910aa1a54eaf7a56e7a;hpb=efac5ae0f24ae1331d9afe0b9bbba8e2484a4189;p=debian%2Fdebian-policy.git diff --git a/debconf_spec/Makefile b/debconf_spec/Makefile index 59b0dd7..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 + rm -f *.css *.html *.txt *.txt.gz + +.DELETE_ON_ERROR: