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