]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: fix hardcoded 'make' invocation
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 22 Feb 2018 17:10:47 +0000 (12:10 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 22 Feb 2018 17:10:47 +0000 (12:10 -0500)
BSD systems need gmake to build FRR, hence why we use $(MAKE) instead of
directly invoking make. It looks like Sphinx generated makefiles
understand this, but contain a bug where the target for info files
hardcodes make instead of using $(MAKE). Fix this.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
doc/developer/Makefile
doc/user/Makefile

index e04e17d3802a49406ec8e51498722a2cb31f08e8..329e455de6b5930fe7e11725c54a14e4d00a66d2 100644 (file)
@@ -172,7 +172,7 @@ texinfo:
 info:
        $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
        @echo "Running Texinfo files through makeinfo..."
-       make -C $(BUILDDIR)/texinfo info
+       $(MAKE) -C $(BUILDDIR)/texinfo info
        @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
 
 .PHONY: gettext
index e04e17d3802a49406ec8e51498722a2cb31f08e8..329e455de6b5930fe7e11725c54a14e4d00a66d2 100644 (file)
@@ -172,7 +172,7 @@ texinfo:
 info:
        $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
        @echo "Running Texinfo files through makeinfo..."
-       make -C $(BUILDDIR)/texinfo info
+       $(MAKE) -C $(BUILDDIR)/texinfo info
        @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
 
 .PHONY: gettext