]> git.proxmox.com Git - mirror_lxc.git/blob - doc/Makefile.am
Remove lxc-version, lxc-ps and lxc-netstat
[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.conf \
14 FAQ.txt
15
16 if ENABLE_DOCBOOK
17 man_MANS = \
18 lxc-attach.1 \
19 lxc-autostart.1 \
20 lxc-cgroup.1 \
21 lxc-checkconfig.1 \
22 lxc-clone.1 \
23 lxc-console.1 \
24 lxc-create.1 \
25 lxc-destroy.1 \
26 lxc-execute.1 \
27 lxc-freeze.1 \
28 lxc-info.1 \
29 lxc-monitor.1 \
30 lxc-snapshot.1 \
31 lxc-start.1 \
32 lxc-stop.1 \
33 lxc-unfreeze.1 \
34 lxc-unshare.1 \
35 lxc-user-nic.1 \
36 lxc-usernsexec.1 \
37 lxc-wait.1 \
38 \
39 lxc.conf.5 \
40 lxc-usernet.5 \
41 \
42 lxc.7
43
44 if ENABLE_PYTHON
45 man_MANS += lxc-device.1
46 man_MANS += lxc-ls.1
47 man_MANS += lxc-start-ephemeral.1
48 else
49 man_MANS += legacy/lxc-ls.1
50 endif
51
52 if ENABLE_LUA
53 man_MANS += lxc-top.1
54 endif
55
56 %.1 : %.sgml
57 $(db2xman) $<
58 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
59
60 %.5 : %.sgml
61 $(db2xman) $<
62 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
63
64 %.7 : %.sgml
65 $(db2xman) $<
66 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
67
68 lxc-%.sgml : common_options.sgml see_also.sgml
69
70 clean-local:
71 $(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
72 endif