Fix: standardize man pages building/installing
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 2 Apr 2016 02:15:53 +0000 (22:15 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 15 May 2016 17:13:31 +0000 (13:13 -0400)
commita57ccd3615c8cdb258c4d8252c315b0b786b5b27
treea57acf423bfc76067178ff6bbc14aaad66dec968
parent45f25f06c3cc8303f01b1a5220718506aaf15482
Fix: standardize man pages building/installing

This patch makes the build system act as follows:

    if --enable-man-pages:
        if in Git repo:
            require asciidoc/xmlto (configure)
            build man pages (make, make clean)
            install man pages (make install)
            distribute man pages (make dist)
        else:
            if asciidoc/xmlto both exist:
                build man pages (make, make clean)
                install man pages (make install)
                distribute man pages (make dist)
            else:
                warn that asciidoc/xmlto are missing (configure)
                create "error" man page targets in Makefile (make)
                do not clean man pages (make clean not available)
                install distributed man pages (make install)
                distribute distributed man pages (make dist)
    else if --disable-man-pages:
        do not build man pages (make, make clean not available)
        do not install man pages (make install not available)
        do not distribute man pages (make dist not available)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
doc/man/Makefile.am
This page took 0.029019 seconds and 4 git commands to generate.