]> git.proxmox.com Git - mirror_frr.git/blame - doc/Makefile.am
Merge pull request #2641 from donaldsharp/pim_igmp_dr
[mirror_frr.git] / doc / Makefile.am
CommitLineData
718e3744 1## Process this file with automake to produce Makefile.in.
2
edc33b2f
QY
3# Pass down make invocation to each subdirectory.
4#
5# Each of these directories contains a Sphinx-generated Makefile that has been
6# modified to implement all the targets required by Automake, as documented in
7# the 'Third-Party Makefiles' section of the Automake docs.
8#
9# Note the absence of the 'developer' directory here; development docs are
10# never built as part of a regular build. They are only built when explicitly
11# asked for. See comment further down.
8c60fed7
QY
12
13# Sphinx is not designed to be invoked multiple times against the same toctree.
14.NOTPARALLEL:
15
edc33b2f 16SUBDIRS = manpages user
524ada7f 17AM_MAKEFLAGS = DESTDIR=${DESTDIR} infodir=${infodir}
82b7ec1d
QY
18
19MANPAGE_BUILDDIR = manpages/_build/man
20
edc33b2f 21# This is a hack, see comment further down.
82b7ec1d 22man_MANS = $(MANPAGE_BUILDDIR)/frr.1
718e3744 23
12e41d03 24if PIMD
82b7ec1d 25man_MANS += $(MANPAGE_BUILDDIR)/pimd.8
a9757448 26man_MANS += $(MANPAGE_BUILDDIR)/mtracebis.8
12e41d03
DL
27endif
28
a6c93cb2
DS
29if PBRD
30man_MANS += $(MANPAGE_BUILDDIR)/pbrd.8
31endif
32
f027d331 33if BGPD
82b7ec1d 34man_MANS += $(MANPAGE_BUILDDIR)/bgpd.8
f027d331
DW
35endif
36
37if ISISD
82b7ec1d 38man_MANS += $(MANPAGE_BUILDDIR)/isisd.8
f027d331
DW
39endif
40
41if OSPF6D
82b7ec1d 42man_MANS += $(MANPAGE_BUILDDIR)/ospf6d.8
f027d331
DW
43endif
44
7b0df9c5 45if OSPFCLIENT
82b7ec1d 46man_MANS += $(MANPAGE_BUILDDIR)/ospfclient.8
7b0df9c5
DW
47endif
48
f027d331 49if OSPFD
82b7ec1d 50man_MANS += $(MANPAGE_BUILDDIR)/ospfd.8
f027d331
DW
51endif
52
eac6e3f0 53if LDPD
82b7ec1d 54man_MANS += $(MANPAGE_BUILDDIR)/ldpd.8
eac6e3f0
RW
55endif
56
f027d331 57if RIPD
82b7ec1d 58man_MANS += $(MANPAGE_BUILDDIR)/ripd.8
f027d331
DW
59endif
60
61if RIPNGD
82b7ec1d 62man_MANS += $(MANPAGE_BUILDDIR)/ripngd.8
f027d331
DW
63endif
64
caba6093 65if NHRPD
82b7ec1d 66man_MANS += $(MANPAGE_BUILDDIR)/nhrpd.8
caba6093
TT
67endif
68
f027d331 69if VTYSH
82b7ec1d 70man_MANS += $(MANPAGE_BUILDDIR)/vtysh.1
f027d331
DW
71endif
72
9473e340 73if WATCHFRR
82b7ec1d 74man_MANS += $(MANPAGE_BUILDDIR)/watchfrr.8
7b0df9c5
DW
75endif
76
f027d331 77if ZEBRA
82b7ec1d 78man_MANS += $(MANPAGE_BUILDDIR)/zebra.8
f027d331
DW
79endif
80
6c85c081 81if EIGRPD
82b7ec1d 82man_MANS += $(MANPAGE_BUILDDIR)/eigrpd.8
6c85c081
DS
83endif
84
a3488351
DS
85if SHARPD
86man_MANS += $(MANPAGE_BUILDDIR)/sharpd.8
87endif
88
edc33b2f
QY
89# Automake is particular about manpages. It is aware of them and has some
90# special facilities for handling them, but it assumes that manpages are always
91# given in groff source and so these facilities are limited to simply
92# specifying the path to the groff sources in a special variable. There is no
93# target for building manpages that can be extended, as there are for pdf,
94# html, dvi, etc. Unfortunately this leaves us with hijacking the
95# 'install-data' and 'all' targets in the 3rd-party Makefile in manpages/ to
96# make sure manpages are always built, and then using the special Automake
97# variable defined above in order to take advantage of automatic installation.
98#
99# However, it is conceivable that someone may want to build just the manpages,
100# so here's an explicit target for that.
101man:
102 $(MAKE) -C manpages man
103
104# Automake automatically defines targets for various document formats. All of
105# the child 3rd-party Makefiles are aware of all Automake targets and implement
106# the ones we are interested in.
107#
108# The SUBDIRS variable at the top of this Makefile.am causes the following
109# implicit Automake targets to only build user documentation, and not developer
110# documentation:
111# - info
112# - html
113# - pdf
114#
115# If you wish to build developer documentation, use these targets:
116developer-info:
117 $(MAKE) -C developer info
118
119developer-pdf:
7bed2c99
QY
120 $(MAKE) -C developer latexpdf
121
edc33b2f 122developer-html:
7bed2c99
QY
123 $(MAKE) -C developer html
124
edc33b2f
QY
125# If you want to build the developer's docs in other formats, try the
126# following:
127#
128# $ cd developer
129# $ make help
9cb4ba0a 130
edc33b2f 131# dist tarballs want doc sources
37ba370b 132EXTRA_DIST = frr-sphinx.mk \
82b7ec1d 133 manpages/bgpd.rst \
d0217a12
QY
134 manpages/common-options.rst \
135 manpages/conf.py \
136 manpages/defines.rst \
82b7ec1d 137 manpages/eigrpd.rst \
d0217a12
QY
138 manpages/epilogue.rst \
139 manpages/frr.rst \
140 manpages/index.rst \
82b7ec1d 141 manpages/isisd.rst \
d0217a12 142 manpages/ldpd.rst \
9eb51ce3 143 manpages/Makefile.am \
d0217a12
QY
144 manpages/mtracebis.rst \
145 manpages/nhrpd.rst \
82b7ec1d 146 manpages/ospf6d.rst \
d0217a12 147 manpages/ospfclient.rst \
82b7ec1d 148 manpages/ospfd.rst \
82b7ec1d 149 manpages/pimd.rst \
d0217a12 150 manpages/ripd.rst \
a6c93cb2 151 manpages/pbrd.rst \
82b7ec1d 152 manpages/ripngd.rst \
a3488351 153 manpages/sharpd.rst \
d0217a12
QY
154 manpages/vtysh.rst \
155 manpages/watchfrr.rst \
156 manpages/zebra.rst \
157 developer/bgpd.rst \
158 developer/bgp-typecodes.rst \
159 developer/building-frr-on-alpine.rst \
160 developer/building-frr-on-centos6.rst \
161 developer/building-frr-on-centos7.rst \
162 developer/building-frr-on-debian8.rst \
163 developer/building-frr-on-debian9.rst \
164 developer/building-frr-on-fedora24.rst \
165 developer/building-frr-on-freebsd10.rst \
166 developer/building-frr-on-freebsd11.rst \
167 developer/building-frr-on-freebsd9.rst \
168 developer/building-frr-on-lede-openwrt.rst \
169 developer/building-frr-on-netbsd6.rst \
170 developer/building-frr-on-netbsd7.rst \
171 developer/building-frr-on-omnios.rst \
172 developer/building-frr-on-openbsd6.rst \
173 developer/building-frr-on-ubuntu1204.rst \
174 developer/building-frr-on-ubuntu1404.rst \
175 developer/building-frr-on-ubuntu1604.rst \
1eeedf67 176 developer/building-frr-on-ubuntu1804.rst \
d0217a12 177 developer/building.rst \
79120ae8 178 developer/cli.rst \
d0217a12
QY
179 developer/conf.py \
180 developer/draft-zebra-00.ms \
181 developer/hooks.rst \
79120ae8 182 developer/index.rst \
d0217a12 183 developer/ldpd-basic-test-setup.md \
79120ae8 184 developer/library.rst \
9eb51ce3 185 developer/Makefile.in \
20e9d2cc 186 developer/maintainer-release-build.rst \
79120ae8 187 developer/memtypes.rst \
d0217a12 188 developer/modules.rst \
79120ae8 189 developer/next-hop-tracking.rst \
79120ae8 190 developer/ospf-api.rst \
d0217a12 191 developer/ospf.rst \
79120ae8 192 developer/ospf-sr.rst \
79120ae8 193 developer/workflow.rst \
d0217a12 194 developer/zebra.rst \
d0217a12
QY
195 user/babeld.rst \
196 user/basic.rst \
197 user/bgp.rst \
037089f8 198 user/bugs.rst \
79120ae8 199 user/conf.py \
79120ae8 200 user/eigrpd.rst \
d0217a12
QY
201 user/filter.rst \
202 user/glossary.rst \
203 user/index.rst \
204 user/installation.rst \
205 user/ipv6.rst \
79120ae8 206 user/isisd.rst \
d0217a12 207 user/kernel.rst \
9eb51ce3 208 user/Makefile.am \
d0217a12 209 user/nhrpd.rst \
79120ae8 210 user/ospf6d.rst \
79120ae8 211 user/ospfd.rst \
d0217a12
QY
212 user/ospf_fundamentals.rst \
213 user/overview.rst \
aa996117 214 user/packet-dumps.rst \
79120ae8 215 user/pim.rst \
d0217a12 216 user/ripd.rst \
a6c93cb2 217 user/pbr.rst \
79120ae8 218 user/ripngd.rst \
d0217a12
QY
219 user/routemap.rst \
220 user/routeserver.rst \
221 user/rpki.rst \
717b4866 222 user/setup.rst \
a3488351 223 user/sharp.rst \
d0217a12 224 user/snmp.rst \
79120ae8 225 user/snmptrap.rst \
d0217a12
QY
226 user/Useful_Sysctl_Settings.md \
227 user/vnc.rst \
228 user/vtysh.rst \
229 user/zebra.rst \
79120ae8
QY
230 mpls/ChangeLog.opaque.txt \
231 mpls/ospfd.conf \
232 mpls/cli_summary.txt \
233 mpls/opaque_lsa.txt \
5eda4aa8 234 figures/cligraph.png \
d0217a12 235 figures/cligraph.svg \
79120ae8 236 figures/fig-normal-processing.dia \
79120ae8 237 figures/fig-normal-processing.png \
d0217a12 238 figures/fig-normal-processing.txt \
79120ae8 239 figures/fig-rs-processing.dia \
79120ae8 240 figures/fig-rs-processing.png \
d0217a12
QY
241 figures/fig-rs-processing.txt \
242 figures/fig_topologies_full.dia \
243 figures/fig_topologies_full.png \
244 figures/fig_topologies_full.txt \
79120ae8 245 figures/fig_topologies_rs.dia \
d0217a12
QY
246 figures/fig_topologies_rs.png \
247 figures/fig_topologies_rs.txt \
248 figures/fig-vnc-commercial-route-reflector.dia \
249 figures/fig-vnc-commercial-route-reflector.png \
250 figures/fig-vnc-commercial-route-reflector.txt \
251 figures/fig-vnc-frr-route-reflector.dia \
79120ae8 252 figures/fig-vnc-frr-route-reflector.png \
d0217a12
QY
253 figures/fig-vnc-frr-route-reflector.txt \
254 figures/fig-vnc-gw.dia \
255 figures/fig-vnc-gw.png \
79120ae8 256 figures/fig-vnc-gw-rr.dia \
d0217a12
QY
257 figures/fig-vnc-gw-rr.png \
258 figures/fig-vnc-gw-rr.txt \
259 figures/fig-vnc-gw.txt \
260 figures/fig-vnc-mesh.dia \
261 figures/fig-vnc-mesh.png \
262 figures/fig-vnc-mesh.txt \
263 figures/fig-vnc-redundant-route-reflectors.dia \
264 figures/fig-vnc-redundant-route-reflectors.png \
265 figures/fig-vnc-redundant-route-reflectors.txt \
266 figures/frr-icon.svg \
267 figures/frr-logo-icon.png \
268 figures/frr-logo-medium.png \
269 figures/frr-logo.png \
79120ae8 270 figures/frr-logo-small.png \
d0217a12
QY
271 figures/git_branches.png \
272 figures/git_branches.svg \
273 figures/ospf_api_architecture.png \
274 figures/ospf_api_msghdr.png \
275 figures/ospf_api_msgs1.png \
dff213a9
QY
276 figures/ospf_api_msgs2.png \
277 extra/frrlexer.py