]> git.proxmox.com Git - mirror_frr.git/blame - doc/user/subdir.am
Merge pull request #3175 from donaldsharp/show_run_static
[mirror_frr.git] / doc / user / subdir.am
CommitLineData
9e53b315
DL
1#
2# doc/user
3#
4
5user_RSTFILES = \
6 doc/user/babeld.rst \
7 doc/user/ldpd.rst \
8 doc/user/basic.rst \
9 doc/user/bgp.rst \
10 doc/user/bugs.rst \
11 doc/user/conf.py \
12 doc/user/eigrpd.rst \
f3c7b99d 13 doc/user/fabricd.rst \
9e53b315
DL
14 doc/user/filter.rst \
15 doc/user/glossary.rst \
16 doc/user/index.rst \
17 doc/user/installation.rst \
18 doc/user/ipv6.rst \
19 doc/user/isisd.rst \
20 doc/user/kernel.rst \
21 doc/user/nhrpd.rst \
22 doc/user/ospf6d.rst \
23 doc/user/ospfd.rst \
24 doc/user/ospf_fundamentals.rst \
25 doc/user/overview.rst \
26 doc/user/packet-dumps.rst \
27 doc/user/pim.rst \
28 doc/user/ripd.rst \
29 doc/user/pbr.rst \
30 doc/user/ripngd.rst \
31 doc/user/routemap.rst \
32 doc/user/routeserver.rst \
33 doc/user/rpki.rst \
34 doc/user/setup.rst \
35 doc/user/sharp.rst \
36 doc/user/snmp.rst \
37 doc/user/snmptrap.rst \
38 doc/user/static.rst \
39 doc/user/vnc.rst \
40 doc/user/vtysh.rst \
41 doc/user/zebra.rst \
42 doc/user/bfd.rst \
43 doc/user/flowspec.rst \
44 # end
45
46EXTRA_DIST += \
47 $(user_RSTFILES) \
48 doc/user/Useful_Sysctl_Settings.md \
49 # end
50
51USERBUILD = doc/user/_build
52$(USERBUILD)/.doctrees/environment.pickle: $(user_RSTFILES)
53
54#
55# automake integration (things that should be built in "all")
56#
57
58if DOC
59nodist_noinst_DATA += $(USERBUILD)/texinfo/frr.info
60endif
61if DOC_HTML
62nodist_noinst_DATA += $(USERBUILD)/html/.buildinfo
63endif
64
65#
66# standard targets
67#
68
69.PHONY: info html pdf
70info: $(USERBUILD)/texinfo/frr.info
71html: $(USERBUILD)/html/.buildinfo
72pdf: $(USERBUILD)/latexpdf
73
74#
75# hook-ins for clean / install / doc
76#
77
78.PHONY: clean-userdocs
79clean-local: clean-userdocs
80clean-userdocs:
81 -rm -rf "$(USERBUILD)"
82
83# INSTALL_INFO=install-info
84.PHONY: install-info uninstall-info install-html uninstall-html
85
86install-info: $(USERBUILD)/texinfo/frr.info
87 $(MKDIR_P) "$(DESTDIR)$(infodir)"
88 $(INSTALL_DATA) "$<" "$(DESTDIR)$(infodir)"
89 [ -z "${DESTDIR}" ] && $(INSTALL_INFO) --info-dir="$(DESTDIR)$(infodir)" "$<" || true
90uninstall-info: $(USERBUILD)/texinfo/frr.info
91 -rm -f "$(DESTDIR)$(infodir)/$<"
92 [ -z "${DESTDIR}" ] && $(INSTALL_INFO) --delete --info-dir="$(DESTDIR)$(infodir)" "$<" || true
93
94install-html: $(USERBUILD)/html/.buildinfo
95 $(MKDIR_P) "$(DESTDIR)$(htmldir)"
96 cp -r "$(USERBUILD)/html" "$(DESTDIR)$(htmldir)"
97uninstall-html:
98 -rm -rf "$(DESTDIR)$(htmldir)/html"
99
100.PHONY: install-data-local uninstall-local
101if DOC
102DOC_INFO=info
103install-data-local: install-info
104uninstall-local: uninstall-info
105endif
106if DOC_HTML
107DOC_HTML=html
108install-data-local: install-html
109uninstall-local: uninstall-html
110endif
111doc: $(DOC_INFO) $(DOC_HTML)