Debian Codegraph @

debian/manpages/Makefile

raw symbols SCIP
1 TARGETS = $(shell for f in *.xml; do section=$$(grep "ENTITY dhsection" $$f| sed -n 's/[^0-9]*\([1-8]\).*/\1/ p'); g=$${f/.xml/}; echo $$g.$${section}; done)
2
3 XP = xsltproc --nonet --param man.charmap.use.subset "0"
4 DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
5
6 all: $(TARGETS)
7
8 test:
9 @echo $(TARGETS)
10
11 %.1: %.xml
12 $(XP) $(DB2MAN) $<
13
14 %.8: %.xml
15 $(XP) $(DB2MAN) $<
16