1 ## Process this file with automake to produce Makefile.in.
3 # Pass down make invocation to each subdirectory.
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.
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.
13 # Sphinx is not designed to be invoked multiple times against the same toctree.
16 SUBDIRS = manpages user
17 AM_MAKEFLAGS = DESTDIR=${DESTDIR} infodir=${infodir}
19 MANPAGE_BUILDDIR = manpages/_build/man
21 # This is a hack, see comment further down.
22 man_MANS = $(MANPAGE_BUILDDIR)/frr.1
25 man_MANS += $(MANPAGE_BUILDDIR)/pimd.8
26 man_MANS += $(MANPAGE_BUILDDIR)/mtracebis.8
30 man_MANS += $(MANPAGE_BUILDDIR)/pbrd.8
34 man_MANS += $(MANPAGE_BUILDDIR)/bgpd.8
38 man_MANS += $(MANPAGE_BUILDDIR)/isisd.8
42 man_MANS += $(MANPAGE_BUILDDIR)/ospf6d.8
46 man_MANS += $(MANPAGE_BUILDDIR)/ospfclient.8
50 man_MANS += $(MANPAGE_BUILDDIR)/ospfd.8
54 man_MANS += $(MANPAGE_BUILDDIR)/ldpd.8
58 man_MANS += $(MANPAGE_BUILDDIR)/ripd.8
62 man_MANS += $(MANPAGE_BUILDDIR)/ripngd.8
66 man_MANS += $(MANPAGE_BUILDDIR)/nhrpd.8
70 man_MANS += $(MANPAGE_BUILDDIR)/vtysh.1
74 man_MANS += $(MANPAGE_BUILDDIR)/watchfrr.8
78 man_MANS += $(MANPAGE_BUILDDIR)/zebra.8
82 man_MANS += $(MANPAGE_BUILDDIR)/eigrpd.8
86 man_MANS += $(MANPAGE_BUILDDIR)/sharpd.8
90 man_MANS += $(MANPAGE_BUILDDIR)/staticd.8
94 man_MANS += $(MANPAGE_BUILDDIR)/bfdd.8
97 # Automake is particular about manpages. It is aware of them and has some
98 # special facilities for handling them, but it assumes that manpages are always
99 # given in groff source and so these facilities are limited to simply
100 # specifying the path to the groff sources in a special variable. There is no
101 # target for building manpages that can be extended, as there are for pdf,
102 # html, dvi, etc. Unfortunately this leaves us with hijacking the
103 # 'install-data' and 'all' targets in the 3rd-party Makefile in manpages/ to
104 # make sure manpages are always built, and then using the special Automake
105 # variable defined above in order to take advantage of automatic installation.
107 # However, it is conceivable that someone may want to build just the manpages,
108 # so here's an explicit target for that.
110 $(MAKE) -C manpages man
112 # Automake automatically defines targets for various document formats. All of
113 # the child 3rd-party Makefiles are aware of all Automake targets and implement
114 # the ones we are interested in.
116 # The SUBDIRS variable at the top of this Makefile.am causes the following
117 # implicit Automake targets to only build user documentation, and not developer
123 # If you wish to build developer documentation, use these targets:
125 $(MAKE) -C developer info
128 $(MAKE) -C developer latexpdf
131 $(MAKE) -C developer html
133 # If you want to build the developer's docs in other formats, try the
139 # dist tarballs want doc sources
140 EXTRA_DIST = frr-sphinx.mk \
142 manpages/common-options.rst \
144 manpages/defines.rst \
145 manpages/eigrpd.rst \
146 manpages/epilogue.rst \
151 manpages/Makefile.am \
152 manpages/mtracebis.rst \
154 manpages/ospf6d.rst \
155 manpages/ospfclient.rst \
160 manpages/ripngd.rst \
161 manpages/sharpd.rst \
162 manpages/staticd.rst \
164 manpages/watchfrr.rst \
167 manpages/bfd-options.rst \
169 developer/bgp-typecodes.rst \
170 developer/building-frr-on-alpine.rst \
171 developer/building-frr-on-centos6.rst \
172 developer/building-frr-on-centos7.rst \
173 developer/building-frr-on-debian8.rst \
174 developer/building-frr-on-debian9.rst \
175 developer/building-frr-on-fedora24.rst \
176 developer/building-frr-on-freebsd10.rst \
177 developer/building-frr-on-freebsd11.rst \
178 developer/building-frr-on-freebsd9.rst \
179 developer/building-frr-on-lede-openwrt.rst \
180 developer/building-frr-on-netbsd6.rst \
181 developer/building-frr-on-netbsd7.rst \
182 developer/building-frr-on-omnios.rst \
183 developer/building-frr-on-openbsd6.rst \
184 developer/building-frr-on-ubuntu1204.rst \
185 developer/building-frr-on-ubuntu1404.rst \
186 developer/building-frr-on-ubuntu1604.rst \
187 developer/building-frr-on-ubuntu1804.rst \
188 developer/building.rst \
191 developer/draft-zebra-00.ms \
192 developer/hooks.rst \
193 developer/index.rst \
194 developer/ldpd-basic-test-setup.md \
195 developer/library.rst \
196 developer/Makefile.in \
197 developer/maintainer-release-build.rst \
198 developer/memtypes.rst \
199 developer/modules.rst \
200 developer/next-hop-tracking.rst \
201 developer/ospf-api.rst \
203 developer/ospf-sr.rst \
204 developer/workflow.rst \
205 developer/zebra.rst \
216 user/installation.rst \
224 user/ospf_fundamentals.rst \
226 user/packet-dumps.rst \
232 user/routeserver.rst \
239 user/Useful_Sysctl_Settings.md \
245 mpls/ChangeLog.opaque.txt \
247 mpls/cli_summary.txt \
248 mpls/opaque_lsa.txt \
249 figures/cligraph.png \
250 figures/cligraph.svg \
251 figures/fig-normal-processing.dia \
252 figures/fig-normal-processing.png \
253 figures/fig-normal-processing.txt \
254 figures/fig-rs-processing.dia \
255 figures/fig-rs-processing.png \
256 figures/fig-rs-processing.txt \
257 figures/fig_topologies_full.dia \
258 figures/fig_topologies_full.png \
259 figures/fig_topologies_full.txt \
260 figures/fig_topologies_rs.dia \
261 figures/fig_topologies_rs.png \
262 figures/fig_topologies_rs.txt \
263 figures/fig-vnc-commercial-route-reflector.dia \
264 figures/fig-vnc-commercial-route-reflector.png \
265 figures/fig-vnc-commercial-route-reflector.txt \
266 figures/fig-vnc-frr-route-reflector.dia \
267 figures/fig-vnc-frr-route-reflector.png \
268 figures/fig-vnc-frr-route-reflector.txt \
269 figures/fig-vnc-gw.dia \
270 figures/fig-vnc-gw.png \
271 figures/fig-vnc-gw-rr.dia \
272 figures/fig-vnc-gw-rr.png \
273 figures/fig-vnc-gw-rr.txt \
274 figures/fig-vnc-gw.txt \
275 figures/fig-vnc-mesh.dia \
276 figures/fig-vnc-mesh.png \
277 figures/fig-vnc-mesh.txt \
278 figures/fig-vnc-redundant-route-reflectors.dia \
279 figures/fig-vnc-redundant-route-reflectors.png \
280 figures/fig-vnc-redundant-route-reflectors.txt \
281 figures/frr-icon.svg \
282 figures/frr-logo-icon.png \
283 figures/frr-logo-medium.png \
284 figures/frr-logo.png \
285 figures/frr-logo-small.png \
286 figures/git_branches.png \
287 figures/git_branches.svg \
288 figures/ospf_api_architecture.png \
289 figures/ospf_api_msghdr.png \
290 figures/ospf_api_msgs1.png \
291 figures/ospf_api_msgs2.png \