mirror_lxc/doc/Makefile.am
Guido Trotter 5c320b7692 Distribute manpages in source tarball
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>
2009-07-26 17:44:11 +02:00

41 lines
535 B
Makefile

EXTRA_DIST = \
FAQ.txt \
$(man_MANS)
if ENABLE_DOCBOOK
man_MANS = \
lxc-create.1 \
lxc-destroy.1 \
lxc-execute.1 \
lxc-start.1 \
lxc-stop.1 \
lxc-console.1 \
lxc-freeze.1 \
lxc-unfreeze.1 \
lxc-monitor.1 \
lxc-wait.1 \
lxc-ls.1 \
lxc-ps.1 \
lxc-cgroup.1 \
\
lxc.conf.5 \
\
lxc.7
%.1 : %.sgml
docbook2man -w all $<
%.5 : %.sgml
docbook2man -w all $<
%.7 : %.sgml
docbook2man -w all $<
lxc-%.sgml : common_options.sgml see_also.sgml
maintainer-clean-local:
$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
endif