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