From: Quentin Young Date: Thu, 22 Feb 2018 17:10:47 +0000 (-0500) Subject: doc: fix hardcoded 'make' invocation X-Git-Tag: frr-5.0-dev~165^2~23 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6165030aa827c89e508ae7fcb30cee9988babbc9;p=mirror%2Ffrr.git doc: fix hardcoded 'make' invocation 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 --- diff --git a/doc/developer/Makefile b/doc/developer/Makefile index e04e17d380..329e455de6 100644 --- a/doc/developer/Makefile +++ b/doc/developer/Makefile @@ -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 diff --git a/doc/user/Makefile b/doc/user/Makefile index e04e17d380..329e455de6 100644 --- a/doc/user/Makefile +++ b/doc/user/Makefile @@ -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