freebsd-dev/tools/kerneldoc/subsys
Alexander Leidinger c199dd3eab MFC r196511:
- Update config to doxygen 1.5.2 (I use this with 1.5.9).
  - Add linprocfs and linsysfs to the linuxulator dox.
  - Take the generated includes from the .m files from a subdirectory
    instead of putting everything into $(.OBJDIR). This imporves the
    human readbility of the source directory contents a lot, if you do not
    create a separate OBJDIR.
  - Assume UTF-8 encoding for every input file.
  - Strip the source and dest path from the output, we are not interested
    in the absolute location on the machine where the docs are created,
    relative the the root of the FreeBSD source is what interests us.
  - Exclude .svn directories.
  - Switch to alphabetic index.
  - Use one line per INCLUDE_PATH member in the common dox-config.
  - Bump the __FreeBSD__ version to 9. [here in the MFC: to 8]
  - Switch from hardcoded .m files to an run-time generated one. Takes
    a little bit more time to get started with actual work, but at least
    is more future-proof. If you generate dox for all subsystems, the
    time to find all .m files in the source is magnitutes lower than
    producing the docs.
  - Make the *DEST_PATH overidable from the environment. This allows to
    produce the output directly in the docroot of a webserver.
  - Fix the path when telling the user where he can find the API docs.
2009-11-05 08:31:42 +00:00
..
common-Doxyfile MFC r196511: 2009-11-05 08:31:42 +00:00
Dependencies MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-cam MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-crypto MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-dev_pci MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-dev_sound MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-dev_usb MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-geom MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-kern MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-libkern MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-linux MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-net80211 MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-netgraph MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-netinet MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-netinet6 MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-netipsec MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-opencrypto MFC r196511: 2009-11-05 08:31:42 +00:00
Doxyfile-vm MFC r196511: 2009-11-05 08:31:42 +00:00
Makefile MFC r196511: 2009-11-05 08:31:42 +00:00
notreviewed.dox
README

       The kernel subsystem API documentation generation framework.
      --------------------------------------------------------------

For every Doxyfile-(.*) the Makefile adds the public targets $1, pdf-$1 and
clean-$1. For e.g. Doxyfile-dev_pci this translates to the targets dev_pci,
pdf-dev_pci and clean-dev_pci.

Additionally, the targets 'all', 'pdf-all' and 'clean' to generate or remove
the documentation for all targets are available.

The file 'Dependencies' contains dependencies for the .tag files.

To add another part to the documentation just copy a Doxyfile and add
the necessary dependencies to the file 'Dependencies'.

The following environment variables can be used in the Doxyfile:
 - DOXYGEN_SRC_PATH		(/usr/src/sys)
 - DOXYGEN_DEST_PATH		(where the docs are generated)
 - DOXYGEN_TARGET_ARCH		(${TARGET_ARCH} if set, else ${MACHINE_ARCH})

For the PDF generation you may have to change some limits in the latex
configuration (the build may fail and an error about e.g. "pool size" is
shown), for print/teTeX this is done in
	/usr/local/share/texmf/web2c/texmf.cnf

Programs needed to generate the API docs:
 - devel/doxygen
 - print/teTeX
 - graphics/graphviz

-- 
$FreeBSD$