| 1 |
joey |
241 |
FILES=$(patsubst %.xml,%.txt,$(wildcard *.xml)) \
|
| 2 |
|
|
$(patsubst %.xml,%.html,$(wildcard *.xml))
|
| 3 |
|
|
|
| 4 |
joey |
275 |
all: $(FILES) spec
|
| 5 |
joey |
183 |
./graph.pl `find .. -name \*.pm` > hierarchy.txt
|
| 6 |
joey |
268 |
-$(MAKE) -C spec all
|
| 7 |
joey |
183 |
|
| 8 |
joey |
189 |
%.html: %.xml html.dsl
|
| 9 |
|
|
jade -V nochunks -t sgml -d html.dsl \
|
| 10 |
joey |
477 |
/usr/lib/sgml/declaration/xml.dcl $< > $@
|
| 11 |
|
|
-tidy -i -m -f /dev/null $@
|
| 12 |
joey |
188 |
|
| 13 |
|
|
%.txt: %.html
|
| 14 |
joey |
343 |
w3m -dump $< > $@
|
| 15 |
|
|
# lynx -dump $< > $@
|
| 16 |
joey |
188 |
|
| 17 |
joey |
275 |
clean: spec
|
| 18 |
joey |
241 |
rm -f $(FILES) hierarchy.txt *.css *.html
|
| 19 |
joey |
268 |
-$(MAKE) -C spec clean
|
| 20 |
joey |
275 |
|
| 21 |
|
|
# Spec is in a different cvs repository, make sure it's available.
|
| 22 |
|
|
# This is mostly for my own loacal use; I ship it in the source package.
|
| 23 |
|
|
spec:
|
| 24 |
|
|
cvs -d :ext:joeyh@cvs.debian.org:/var/cvs/debconf co spec
|