Ship the manpages in the source tarball made by 'make dist', and clean
them up only during the 'make maintainer-clean' step. This allows
distributions not to depend on docbook at lxc build time, because the
manpages are already there.
Also update the configure warning message to sound less scary.
Signed-off-by: Guido Trotter <ultrotter@quaqua.net>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Warning:
--------
-The docbook tool is not installed, the man pages won't be generated.
-If you want the man pages, install docbook and rerun 'configure'.
+The docbook tool is not installed, the man pages won't be regenerated.
+If you need to update the manpages, install docbook and rerun 'configure'.
])
-EXTRA_DIST = FAQ.txt
+EXTRA_DIST = \
+ FAQ.txt \
+ $(man_MANS)
if ENABLE_DOCBOOK
man_MANS = \
lxc-%.sgml : common_options.sgml see_also.sgml
-clean-local:
+maintainer-clean-local:
$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
endif