1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
.PHONY: all clean distclean doc doc-dev
DOC = Documentation.html
DOCDEV = xml_states.ps cli_tokenize.ps
all: doc doc-dev
xml_states.ps: ../src/xml.dot
libcli/cli_tokenize.ps: ../src/libcli/cli_tokenize.dot
doc: $(DOC)
doc-dev: $(DOCDEV)
clean:
$(RM) $(DOC)
distclean: clean
$(RM) $(DOCDEV)
%.ps:
dot -Tps $^ > $@
%.html:
../src/hnb -rc /dev/null $(basename $@).hnb -e "go root" "export_htmlcss $@"
%.txt:
../src/hnb -rc /dev/null $(basename $@).hnb -e "go root" "export_ascii $@"
|