mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-03 00:56:22 +00:00

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>
41 lines
535 B
Makefile
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
|