blob: 4879f7f7ef3c27264d2d6000b1caa8c03c8b9025 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
#
# doc/user
#
user_RSTFILES = \
doc/user/affinitymap.rst \
doc/user/babeld.rst \
doc/user/ldpd.rst \
doc/user/basic.rst \
doc/user/bgp.rst \
doc/user/bmp.rst \
doc/user/bugs.rst \
doc/user/conf.py \
doc/user/eigrpd.rst \
doc/user/evpn.rst \
doc/user/extlog.rst \
doc/user/fabricd.rst \
doc/user/filter.rst \
doc/user/frr-reload.rst \
doc/user/glossary.rst \
doc/user/grpc.rst \
doc/user/index.rst \
doc/user/installation.rst \
doc/user/ipv6.rst \
doc/user/isisd.rst \
doc/user/kernel.rst \
doc/user/nexthop_groups.rst \
doc/user/nhrpd.rst \
doc/user/ospf6d.rst \
doc/user/ospfd.rst \
doc/user/ospf_fundamentals.rst \
doc/user/overview.rst \
doc/user/packet-dumps.rst \
doc/user/pathd.rst \
doc/user/pim.rst \
doc/user/pimv6.rst \
doc/user/ripd.rst \
doc/user/pbr.rst \
doc/user/ripngd.rst \
doc/user/routemap.rst \
doc/user/routeserver.rst \
doc/user/rpki.rst \
doc/user/scripting.rst \
doc/user/setup.rst \
doc/user/sharp.rst \
doc/user/snmp.rst \
doc/user/snmptrap.rst \
doc/user/static.rst \
doc/user/vnc.rst \
doc/user/vrrp.rst \
doc/user/vtysh.rst \
doc/user/zebra.rst \
doc/user/bfd.rst \
doc/user/flowspec.rst \
doc/user/watchfrr.rst \
doc/user/wecmp_linkbw.rst \
doc/user/mgmtd.rst \
# end
EXTRA_DIST += \
$(user_RSTFILES) \
doc/user/Useful_Sysctl_Settings.md \
doc/user/_static/overrides.css \
doc/user/_static/overrides.js \
# end
USERBUILD = doc/user/_build
$(USERBUILD)/.doctrees/environment.pickle: $(user_RSTFILES)
#
# automake integration (things that should be built in "all")
#
if DOC
nodist_noinst_DATA += $(USERBUILD)/texinfo/frr.info
endif
if DOC_HTML
nodist_noinst_DATA += $(USERBUILD)/html/.buildinfo
endif
#
# standard targets
#
.PHONY: info html pdf
info: $(USERBUILD)/texinfo/frr.info
html: $(USERBUILD)/html/.buildinfo
pdf: $(USERBUILD)/latexpdf
#
# hook-ins for clean / install / doc
#
.PHONY: clean-userdocs
clean-local: clean-userdocs
clean-userdocs:
-rm -rf "$(USERBUILD)"
# INSTALL_INFO=install-info
.PHONY: install-info uninstall-info install-html uninstall-html
install-info: $(USERBUILD)/texinfo/frr.info
$(MKDIR_P) "$(DESTDIR)$(infodir)"
$(INSTALL_DATA) "$<" "$(DESTDIR)$(infodir)"
[ -z "${DESTDIR}" ] && $(INSTALL_INFO) --info-dir="$(DESTDIR)$(infodir)" "$<" || true
uninstall-info: $(USERBUILD)/texinfo/frr.info
-rm -f "$(DESTDIR)$(infodir)/$<"
[ -z "${DESTDIR}" ] && $(INSTALL_INFO) --delete --info-dir="$(DESTDIR)$(infodir)" "$<" || true
install-html: $(USERBUILD)/html/.buildinfo
$(MKDIR_P) "$(DESTDIR)$(htmldir)"
cp -r "$(USERBUILD)/html" "$(DESTDIR)$(htmldir)"
uninstall-html:
-rm -rf "$(DESTDIR)$(htmldir)/html"
.PHONY: install-data-local uninstall-local
if DOC
DOC_INFO=info
TARGET_INSTALL_INFO=install-info
TARGET_UNINSTALL_INFO=uninstall-info
endif
if DOC_HTML
DOC_HTML=html
TARGET_INSTALL_HTML=install-html
TARGET_UNINSTALL_HTML=uninstall-html
endif
# leave the comments in, this was causing weird reordering issues in automake
install-data-local: $(TARGET_INSTALL_INFO) $(TARGET_INSTALL_HTML)
#
uninstall-local: $(TARGET_UNINSTALL_INFO) $(TARGET_UNINSTALL_HTML)
#
doc: $(DOC_INFO) $(DOC_HTML)
|