]> git.donarmstrong.com Git - debian/debian-policy.git/blob - debconf_spec/Makefile
Fix FTBFS and migrate to openjade/opensp
[debian/debian-policy.git] / debconf_spec / Makefile
1 all: debconf_specification.txt.gz debconf_specification.html
2
3 %.html: %.xml html.dsl
4         openjade -V nochunks -t sgml -d html.dsl \
5                 /usr/share/xml/declaration/xml.dcl $< > $@
6         -tidy -q -i -m -f /dev/null $@
7
8 %.txt: %.html
9         links -dump $< | perl -pe 's/[\r\0]//g' > $@
10
11 %.txt.gz: %.txt
12         gzip -ncf9 $< > $@
13
14 clean:
15         rm -f *.css *.html *.txt *.txt.gz
16
17 .DELETE_ON_ERROR: