]> git.proxmox.com Git - mirror_lxc.git/blob - doc/Makefile.am
Install legacy scripts when built without python.
[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-create.1 \
11 lxc-destroy.1 \
12 lxc-execute.1 \
13 lxc-start.1 \
14 lxc-stop.1 \
15 lxc-checkpoint.1 \
16 lxc-restart.1 \
17 lxc-console.1 \
18 lxc-freeze.1 \
19 lxc-unfreeze.1 \
20 lxc-monitor.1 \
21 lxc-wait.1 \
22 lxc-ps.1 \
23 lxc-cgroup.1 \
24 lxc-kill.1 \
25 lxc-attach.1 \
26 \
27 lxc.conf.5 \
28 \
29 lxc.7
30
31 if ENABLE_PYTHON
32 man_MANS += lxc-ls.1
33 else
34 man_MANS += legacy/lxc-ls.1
35 endif
36
37 %.1 : %.sgml
38 $(db2xman) $<
39 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
40
41 %.5 : %.sgml
42 $(db2xman) $<
43 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
44
45 %.7 : %.sgml
46 $(db2xman) $<
47 test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
48
49 lxc-%.sgml : common_options.sgml see_also.sgml
50
51 maintainer-clean-local:
52 $(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
53 endif