1 include ..
/frr-sphinx.mk
3 # -----------------------------------------------------------------------------
4 # Automake requires that 3rd-party Makefiles recognize these targets.
5 # -----------------------------------------------------------------------------
30 # ignore these targets
31 EMPTY_AUTOMAKE_TARGETS
= dvi ps
tags ctags distdir install-exec install-dvi install-ps
installdirs check installcheck install-html install-pdf install-data
install
32 .PHONY
: $(EMPTY_AUTOMAKE_TARGETS
)
33 $(EMPTY_AUTOMAKE_TARGETS
):
35 # When building 'all', the logic is that we want to make docs that are easily
36 # readable by the person that just built them. Technically the reST source is
37 # readable in its own right, but we'll also build info and html because those
38 # offer sequentially better reading experiences. PDF is not built by default
39 # because it takes quite a while.
42 # info and html already have built-in sphinx rules; pdf goes to latexpdf
45 # install user manual as info file
47 install -d
${DESTDIR}${infodir}
48 gzip
< _build
/texinfo
/frr.
info > ${DESTDIR}${infodir}/frr.
info.gz
49 install-info _build
/texinfo
/frr.
info ${DESTDIR}${infodir}/dir
51 install-data
: install-info
55 mostlyclean distclean maintainer-clean
: clean