• Michael Hanselmann's avatar
    Generate documentation from build directory · 7cf58cad
    Michael Hanselmann authored
    
    
    When man pages should be included they need to be copied from man/*.rst.
    This means documentation can no longer be built from the static reST
    files alone (which are referenced using “abs_top_srcdir”). Similar to
    Python files, automake doesn't copy or link the input files for
    documentation into the build tree.
    
    This patch adds all files required to build the documentation to
    “srclink_files”, renames the “docrst" variable to “docinput”, and then
    references the files in the build tree using “abs_top_builddir”.
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    7cf58cad
Makefile.am 52.9 KB