From 57a7f76c7769973fca35a9860482a07dedc618ed Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 2 Mar 2019 17:38:54 +0900 Subject: [PATCH] Fix texinfo: ``make install-info`` causes syntax error --- CHANGES | 1 + sphinx/templates/texinfo/Makefile | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index 85b225e31..4dc27fc8e 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,7 @@ Bugs fixed * #3620: html: Defer searchindex.js rather than loading it via ajax * #6113: html: Table cells and list items have large margins * #5508: ``linenothreshold`` option for ``highlight`` directive was ignored +* texinfo: ``make install-info`` causes syntax error Testing -------- diff --git a/sphinx/templates/texinfo/Makefile b/sphinx/templates/texinfo/Makefile index 276a66136..81c60f502 100644 --- a/sphinx/templates/texinfo/Makefile +++ b/sphinx/templates/texinfo/Makefile @@ -17,15 +17,15 @@ html: $(addsuffix .html,$(ALLDOCS)) pdf: $(addsuffix .pdf,$(ALLDOCS)) install-info: info - for f in *.info; do \\ - cp -t $(infodir) "$$f" && \\ - $(INSTALL_INFO) --info-dir=$(infodir) "$$f" ; \\ + for f in *.info; do \ + cp -t $(infodir) "$$f" && \ + $(INSTALL_INFO) --info-dir=$(infodir) "$$f" ; \ done uninstall-info: info - for f in *.info; do \\ - rm -f "$(infodir)/$$f" ; \\ - $(INSTALL_INFO) --delete --info-dir=$(infodir) "$$f" ; \\ + for f in *.info; do \ + rm -f "$(infodir)/$$f" ; \ + $(INSTALL_INFO) --delete --info-dir=$(infodir) "$$f" ; \ done %.info: %.texi