~darxus/+junk/wayland-packaging

Viewing all changes in revision 1076.

  • Committer: Kristian Høgsberg
  • Author(s): David Herrmann
  • Date: 2012-09-25 15:02:52 UTC
  • Revision ID: git-v1:49dee9a86c39b8e656fdc628591cfc5257c1b8c2
man: add man-page infrastructure

This adds a man-page infrastructure based on Docbook XML files. This
allows us to integrate the man-pages into the publican books later. An
example page for wl_display_connect() (with an alias
wl_display_connect_to_fd()) is also added.

Feel free to add more man-pages. Function calls are put in man3 and
overview pages into man7. All pages (including aliases) have to be added
to the Makefile.

Docbook does generate aliases automatically from the additional names that
were put in the XML file. However, a small SED script is needed to fixup
the include-paths in the generated troff files. If someone knows how to
avoid that (or even install them gzip'ped), please fix it up.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: