SubDir TOP docs ; InstallMan netpanzer.6 ; if $(DOXYGEN) { actions DoxyGen { top_srcdir=$(top_srcdir) $(DOXYGEN) $(DOXGEN_FLAGS) $(>) } SEARCH on Doxyfile = $(SUBDIR) ; NotFile doxygen ; Always doxygen ; Depends doc : doxygen ; Depends doxygen : Doxyfile ; DoxyGen doxygen : Doxyfile ; Help doxygen : "Create doxygen documentation of the project" ; } # hack for docbook stuff (TODO need a more robust way to do this) DBDIR = "/usr/share/sgml/docbook/xsl-stylesheets-1.66.1" ; actions XsltProc { xsltproc -o $(<) $(DBDIR)/html/docbook.xsl $(>) } SEARCH on serverhowto.xml = $(SUBDIR)/docbook ; LOCATE on serverhowto.html = $(SUBDIR) ; XsltProc serverhowto.html : serverhowto.xml ; Depends serverhowto.html : serverhowto.xml ; Depends docbook : serverhowto.html ; Help docbook : "Update docbook documentation" ;