X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=2bf92a0a8cc15b06b2902bc0d18b03ef277ae4ad;hb=2f32e37ef41c97ae9d166457d7b0141df96dc3fd;hp=54e5f221726c5f853200f6d1e7a6a5e13a4b351e;hpb=e4b3fe5833cf5e8cb85389ceed8a00254c87b01f;p=mirror_lxc.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 54e5f2217..2bf92a0a8 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,43 +1,71 @@ -SUBDIRS = examples -DIST_SUBDIRS = examples +SUBDIRS = examples rootfs +DIST_SUBDIRS = examples rootfs ja ko api + +if USE_DOCBOOK2X +SUBDIRS += ja ko +endif + +if ENABLE_API_DOCS +SUBDIRS += api +endif EXTRA_DIST = \ - FAQ.txt \ - $(man_MANS) + lxc.container.conf \ + lxc.system.conf \ + FAQ.txt 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-kill.1 \ - \ - lxc.conf.5 \ - \ - lxc.7 - - -%.1 : %.sgml - docbook2man -w all $< - -%.5 : %.sgml - docbook2man -w all $< - -%.7 : %.sgml - docbook2man -w all $< +man_MANS = lxc.conf.5 \ + lxc.container.conf.5 \ + lxc.system.conf.5 \ + lxc-usernet.5 \ + lxc.7 +if ENABLE_TOOLS +man_MANS += lxc-attach.1 \ + lxc-autostart.1 \ + lxc-cgroup.1 \ + lxc-checkconfig.1 \ + lxc-checkpoint.1 \ + lxc-config.1 \ + lxc-console.1 \ + lxc-copy.1 \ + lxc-create.1 \ + lxc-destroy.1 \ + lxc-device.1 \ + lxc-execute.1 \ + lxc-freeze.1 \ + lxc-info.1 \ + lxc-ls.1 \ + lxc-monitor.1 \ + lxc-snapshot.1 \ + lxc-start.1 \ + lxc-stop.1 \ + lxc-top.1 \ + lxc-unfreeze.1 \ + lxc-unshare.1 \ + lxc-wait.1 +endif + +if ENABLE_COMMANDS +man_MANS += lxc-update-config.1 \ + lxc-user-nic.1 \ + lxc-usernsexec.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: +clean-local: $(RM) manpage.* *.7 *.5 *.1 $(man_MANS) endif