b9ce0b807264c37be2e6d1a8c7ccaec0cb4a2364
Stefan Schuermans first few lines of document...

Stefan Schuermans authored 11 years ago

1) NAME = dxfngc
2) 
Stefan Schuermans CAD drawing of first example

Stefan Schuermans authored 11 years ago

3) DB_DIR = /usr/share/xml/docbook
4) DB_SCHEMA = $(DB_DIR)/schema/xsd/5.0/docbook.xsd
5) DB_XSL_FO = $(DB_DIR)/stylesheet/docbook-xsl-ns/fo/docbook.xsl
6) 
Stefan Schuermans first few lines of document...

Stefan Schuermans authored 11 years ago

7) .PHONY: all clean
8) .SUFFIXES:
9) .SECONDARY:
10) 
11) all: $(NAME).pdf
12) 
Stefan Schuermans CAD drawing of first example

Stefan Schuermans authored 11 years ago

13) %.fo: %.xml
14) 	xmlstarlet val --err --xsd $(DB_SCHEMA) $<
15) 	xsltproc $(DB_XSL_FO) $< >$@
16) 
17) %.pdf: %.fo
18) 	fop -fo $< -pdf $@
Stefan Schuermans first few lines of document...

Stefan Schuermans authored 11 years ago

19) 
20) clean:
Stefan Schuermans CAD drawing of first example

Stefan Schuermans authored 11 years ago

21) 	rm -f $(NAME).fo $(NAME).pdf