Skip to content
  • David Herrmann's avatar
    man: add man-page infrastructure · 49dee9a8
    David Herrmann authored
    
    
    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: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
    49dee9a8