doc/docbook/Makefile
raw| 1 | SRCS = \ |
| 2 | src/book.xml \ |
| 3 | src/bookinfo.xml \ |
| 4 | src/graphviz_plugins.xml \ |
| 5 | src/graphviz_scripting.xml |
| 6 | |
| 7 | .PHONY: all |
| 8 | all: html pdf |
| 9 | |
| 10 | dvi fo javahelp man pdf ps txt: $(SRCS) |
| 11 | xmlto $@ src/book.xml |
| 12 | |
| 13 | |
| 14 | xhtml xhtml-nochunks html html-nochunks htmlhelp: $(SRCS) |
| 15 | xmlto $@ -o $@ src/book.xml |
| 16 | cp -rp src/imgs $@/ |
| 17 | |
| 18 | .PHONY: clean |
| 19 | clean: |
| 20 | rm -rf xhtml xhtml-nochunks html html-nochunks htmlhelp book.* |