]> git.donarmstrong.com Git - debian/debian-policy.git/blob - copyright-format/Makefile
Release policy 3.9.7.0
[debian/debian-policy.git] / copyright-format / Makefile
1 all: copyright-format-1.0.txt.gz copyright-format-1.0.html
2
3 copyright-format-1.0.html: copyright-format-1.0.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 copyright-format-1.0.txt: copyright-format-1.0.html
9         links -dump $< | perl -pe 's/[\r\0]//g' > $@
10
11 copyright-format-1.0.txt.gz: copyright-format-1.0.txt
12         gzip -ncf9 $< > $@
13
14 clean:
15         rm -f *.css *.html *.txt *.txt.gz
16
17 .DELETE_ON_ERROR: