]> git.proxmox.com Git - mirror_lxc.git/blob - doc/Makefile.am
doc: Add manpage for lxc-config
[mirror_lxc.git] / doc / Makefile.am
1 SUBDIRS = examples rootfs
2 DIST_SUBDIRS = examples rootfs ja api
3
4 if USE_DOCBOOK2X
5 SUBDIRS += ja
6 endif
7
8 if ENABLE_API_DOCS
9 SUBDIRS += api
10 endif
11
12 EXTRA_DIST = \
13 lxc.container.conf \
14 lxc.system.conf \
15 FAQ.txt
16
17 if ENABLE_DOCBOOK
18 man_MANS = \
19 lxc-attach.1 \
20 lxc-autostart.1 \
21 lxc-cgroup.1 \
22 lxc-checkconfig.1 \
23 lxc-clone.1 \
24 lxc-config.1 \
25 lxc-console.1 \
26 lxc-create.1 \
27 lxc-destroy.1 \
28 lxc-execute.1 \
29 lxc-freeze.1 \
30 lxc-info.1 \
31 lxc-monitor.1 \
32 lxc-snapshot.1 \
33 lxc-start.1 \
34 lxc-stop.1 \
35 lxc-unfreeze.1 \
36 lxc-unshare.1 \
37 lxc-user-nic.1 \
38 lxc-usernsexec.1 \
39 lxc-wait.1 \
40 \
41 lxc.conf.5 \
42 lxc.container.conf.5 \
43 lxc.system.conf.5 \
44 lxc-usernet.5 \
45 \
46 lxc.7
47
48 if ENABLE_PYTHON
49 man_MANS += lxc-device.1
50 man_MANS += lxc-ls.1
51 man_MANS += lxc-start-ephemeral.1
52 else
53 man_MANS += legacy/lxc-ls.1
54 endif
55
56 if ENABLE_LUA
57 man_MANS += lxc-top.1
58 endif
59
60 %.1 : %.sgml
61 $(db2xman) $<
62 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
63
64 %.5 : %.sgml
65 $(db2xman) $<
66 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
67
68 %.7 : %.sgml
69 $(db2xman) $<
70 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
71
72 lxc-%.sgml : common_options.sgml see_also.sgml
73
74 clean-local:
75 $(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
76 endif