File: Makefile

package info (click to toggle)
debian-policy 3.7.2.2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,280 kB
  • ctags: 37
  • sloc: xml: 727; makefile: 167; sh: 93
file content (17 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: debconf_specification.txt.gz debconf_specification.html

%.html: %.xml html.dsl
	jade -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 -cf9 $< > $@

clean:
	rm -f *.css *.html *.txt *.txt.gz

.DELETE_ON_ERROR: