4 DOCS=muppets.cpp.html muppets.h.html
5 XREF=$(DOCS:.html=.xref)
16 # This makefile shows how with a few rules you can generate
17 # the documentation from all your sources.
21 # create xrefs file (file with the names of all .xref files).
23 muppets.xrefs : $(XREF)
27 # Rule to create an .xref file.
29 %.xref : % muppets.xrefs
30 $(ROBODOC) $< $(@:.xref=.html) INTERNAL -g $@ -v
33 # Rule to create an .html file.
36 $(ROBODOC) $< $@ HTML INTERNAL -x muppets.xrefs -v
41 masterindex.html : muppets.xrefs $(DOCS)
42 $(ROBODOC) $< $@ INDEX HTML