]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: work around weird texinfo bug
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 4 Aug 2017 12:45:08 +0000 (14:45 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 4 Aug 2017 12:45:08 +0000 (14:45 +0200)
This inserts "\global \advance \brackcount by 1" into the frr.fn
(function index) for some reason, which causes the PDF build to fail.

It's somehow related to the [] brackets, but they work just fine in
other locations...

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
doc/Makefile.am
doc/bgpd.texi

index 86138baf825e5e30248f2f4af63747457e26b1f4..9016df73724e9af9f5171c0d1de1f61490131e42 100644 (file)
@@ -52,7 +52,7 @@ info_TEXINFOS = frr.texi
 # because it cant just work from the png's directly it seems - contrary
 # to the documentation...
 frr.pdf: $(info_TEXINFOS) $(figures_pdf) $(frr_TEXINFOS) defines.texi
-       $(TEXI2PDF) -o "$@" $< || true
+       $(TEXI2PDF) -o "$@" $<
 
 # don't ask me why the info file is in srcdir
 $(srcdir)/frr.info: $(frr_TEXINFOS) defines.texi
index 8e0da129493bd1d007fd3728aa8c9d423e756996..d6b07a270fdd717ec69f7ebe99e0ef45abc2f118 100644 (file)
@@ -698,8 +698,11 @@ This command is deprecated and may be removed in a future release. Its
 use should be avoided.
 @end deffn
 
-@deffn {BGP} {neighbor @var{peer} next-hop-self [all]} {}
-@deffnx {BGP} {no neighbor @var{peer} next-hop-self [all]} {}
+@c for some reason, using [all] here triggers a bug in texinfo...
+@deffn {BGP} {neighbor @var{peer} next-hop-self} {}
+@deffnx {BGP} {no neighbor @var{peer} next-hop-self} {}
+@deffnx {BGP} {neighbor @var{peer} next-hop-self all} {}
+@deffnx {BGP} {no neighbor @var{peer} next-hop-self all} {}
 This command specifies an announced route's nexthop as being equivalent
 to the address of the bgp router if it is learned via eBGP.
 If the optional keyword @code{all} is specified the modifiation is done