]> git.proxmox.com Git - mirror_lxc.git/blob - doc/Makefile.am
Merge pull request #3325 from brauner/2020-03-24/fixes
[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 = api-extensions.md \
13 lxc.container.conf \
14 lxc.system.conf \
15 FAQ.txt
16
17 if ENABLE_DOCBOOK
18 man_MANS = lxc.conf.5 \
19 lxc.container.conf.5 \
20 lxc.system.conf.5 \
21 lxc-usernet.5 \
22 lxc.7
23 if ENABLE_TOOLS
24 man_MANS += lxc-attach.1 \
25 lxc-autostart.1 \
26 lxc-cgroup.1 \
27 lxc-checkconfig.1 \
28 lxc-checkpoint.1 \
29 lxc-config.1 \
30 lxc-console.1 \
31 lxc-copy.1 \
32 lxc-create.1 \
33 lxc-destroy.1 \
34 lxc-device.1 \
35 lxc-execute.1 \
36 lxc-freeze.1 \
37 lxc-info.1 \
38 lxc-ls.1 \
39 lxc-monitor.1 \
40 lxc-snapshot.1 \
41 lxc-start.1 \
42 lxc-stop.1 \
43 lxc-top.1 \
44 lxc-unfreeze.1 \
45 lxc-unshare.1 \
46 lxc-wait.1
47 endif
48
49 if ENABLE_PAM
50 man_MANS += pam_cgfs.8
51 endif
52
53 if ENABLE_COMMANDS
54 man_MANS += lxc-update-config.1 \
55 lxc-user-nic.1 \
56 lxc-usernsexec.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 %.8 : %.sgml
72 $(db2xman) $<
73 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
74
75 lxc-%.sgml : common_options.sgml see_also.sgml
76
77 clean-local:
78 $(RM) manpage.* *.7 *.5 *.1 *.8 $(man_MANS)
79 endif