Use the doc role to create doxygen documentation related to a package or to compile latex files.
The doc role allows to generate multiple documentations using doxygen, e.g. an API documentation, an internal documentation and a documentation of the usage of your server. For each documentation, pick a unique name beginning with the name of the package you are writing the documentation for. Save the doxygen files using these names, with the .cfg extension added. Ensure all configurations build into a subdir with the name of that documentation. List the configuration files within the SRC_DOX_* variables. A make all will create the documentation and optionally install the html files into $(L4DIR)/doc/html/. With the make-file located in this directory, you can build an index to the documentation of all DROPS packages then.
The dependency mechanism detects all changes in your source files.
Doxygen support allows to group your documentation into one of four groups: user guides, reference manuals, internal documentation and the rest. This classification is used when generating the index page in $(L4DIR)/doc/html/.
The doc role provides rules to compile LATEX files into .ps and .pdf, and to convert xfig images to eps. List the .tex files you want to be compiled in the SRC_TEX variable. The first file in the $(SRC_TEX) is the primary tex document. The compiled version of the primary tex document is easily showed by calling the "showdvi" or the "showps" target. To rebuild the primary tex document, call "make dvi" or "make ps". A successful compilation triggers a redraw within the appropriate viewer.
PKGDIR = .. L4DIR ?= $(PKGDIR)/../.. SRC_DOX_REF = dm_phys.cfg include $(L4DIR)/mk/doc.mk
L4 Checker 2012-04-11