]> git.proxmox.com Git - mirror_lxc.git/blob - doc/Makefile.am
Merge pull request #1718 from agaida/patch-1
[mirror_lxc.git] / doc / Makefile.am
1 SUBDIRS = examples rootfs
2 DIST_SUBDIRS = examples rootfs ja ko api
3
4 if USE_DOCBOOK2X
5 SUBDIRS += ja ko
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-checkpoint.1 \
24 lxc-config.1 \
25 lxc-console.1 \
26 lxc-copy.1 \
27 lxc-create.1 \
28 lxc-destroy.1 \
29 lxc-device.1 \
30 lxc-execute.1 \
31 lxc-freeze.1 \
32 lxc-info.1 \
33 lxc-ls.1 \
34 lxc-monitor.1 \
35 lxc-snapshot.1 \
36 lxc-start.1 \
37 lxc-stop.1 \
38 lxc-top.1 \
39 lxc-unfreeze.1 \
40 lxc-unshare.1 \
41 lxc-update-config.1 \
42 lxc-user-nic.1 \
43 lxc-usernsexec.1 \
44 lxc-wait.1 \
45 \
46 lxc.conf.5 \
47 lxc.container.conf.5 \
48 lxc.system.conf.5 \
49 lxc-usernet.5 \
50 \
51 lxc.7
52
53 if ENABLE_DEPRECATED
54 man_MANS += lxc-clone.1
55 if ENABLE_PYTHON
56 man_MANS += lxc-start-ephemeral.1
57 endif
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