mirror_lxc/doc/Makefile.am
Stéphane Graber 6a85cf9124 Install legacy scripts when built without python.
Re-introduce the old lxc-ls script and manpage under a new legacy
sub-directory.

Those will be installed in place of their python equivalent when LXC
is built without --enable-python.

Any other script ported to python should be added to those lists.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2012-12-04 14:01:30 -05:00

54 lines
930 B
Makefile

SUBDIRS = examples rootfs
DIST_SUBDIRS = examples rootfs
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-checkpoint.1 \
lxc-restart.1 \
lxc-console.1 \
lxc-freeze.1 \
lxc-unfreeze.1 \
lxc-monitor.1 \
lxc-wait.1 \
lxc-ps.1 \
lxc-cgroup.1 \
lxc-kill.1 \
lxc-attach.1 \
\
lxc.conf.5 \
\
lxc.7
if ENABLE_PYTHON
man_MANS += lxc-ls.1
else
man_MANS += legacy/lxc-ls.1
endif
%.1 : %.sgml
$(db2xman) $<
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
%.5 : %.sgml
$(db2xman) $<
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
%.7 : %.sgml
$(db2xman) $<
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
lxc-%.sgml : common_options.sgml see_also.sgml
maintainer-clean-local:
$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
endif