]> git.proxmox.com Git - mirror_lxc.git/blob - doc/Makefile.am
doc: Try to clear some confusion about lxc.conf
[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-console.1 \
25 lxc-create.1 \
26 lxc-destroy.1 \
27 lxc-execute.1 \
28 lxc-freeze.1 \
29 lxc-info.1 \
30 lxc-monitor.1 \
31 lxc-snapshot.1 \
32 lxc-start.1 \
33 lxc-stop.1 \
34 lxc-unfreeze.1 \
35 lxc-unshare.1 \
36 lxc-user-nic.1 \
37 lxc-usernsexec.1 \
38 lxc-wait.1 \
39 \
40 lxc.conf.5 \
41 lxc.container.conf.5 \
42 lxc.system.conf.5 \
43 lxc-usernet.5 \
44 \
45 lxc.7
46
47 if ENABLE_PYTHON
48 man_MANS += lxc-device.1
49 man_MANS += lxc-ls.1
50 man_MANS += lxc-start-ephemeral.1
51 else
52 man_MANS += legacy/lxc-ls.1
53 endif
54
55 if ENABLE_LUA
56 man_MANS += lxc-top.1
57 endif
58
59 %.1 : %.sgml
60 $(db2xman) $<
61 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
62
63 %.5 : %.sgml
64 $(db2xman) $<
65 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
66
67 %.7 : %.sgml
68 $(db2xman) $<
69 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
70
71 lxc-%.sgml : common_options.sgml see_also.sgml
72
73 clean-local:
74 $(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
75 endif