[1/2] libstdc++: Fix 'doc-install-info' rule.

Message ID fa9724f1b198f6416bb8e05966f57b0742201b73.1692650021.git.mirai@makinata.eu
State Accepted
Headers
Series libstdc++: Documentation fixes. |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Bruno Victal Aug. 21, 2023, 8:34 p.m. UTC
  The info manual isn't moved to the expected location after
generation which causes the install rule for it to fail.

libstdc++-v3/Changelog:

	* doc/Makefile.in: Regenerate.
	* doc/Makefile.am: Fix 'doc-install-info' rule.
	Fix typo in commment.
---
 libstdc++-v3/doc/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: f9ff6fa58217294d63f255dd02abfcc8a074f509
  

Patch

diff --git a/libstdc++-v3/doc/Makefile.am b/libstdc++-v3/doc/Makefile.am
index 8371441c62e..373522d593d 100644
--- a/libstdc++-v3/doc/Makefile.am
+++ b/libstdc++-v3/doc/Makefile.am
@@ -598,7 +598,7 @@  stamp-pdf-docbook: doc-pdf-docbook-pre doc-xml-single-docbook
 doc-pdf-docbook: stamp-pdf-docbook
 
 # TEXINFO, via docbook2X
-# NB: Both experimental and tempermental
+# NB: Both experimental and temperamental
 manual_texi = ${docbook_outdir}/texinfo/libstdc++-manual.texi
 manual_info = ${docbook_outdir}/texinfo/libstdc++-manual.info
 DB2TEXI_FLAGS = \
@@ -615,7 +615,7 @@  stamp-texinfo-docbook: stamp-xml-single-docbook ${docbook_outdir}/texinfo
 
 stamp-info-docbook: stamp-texinfo-docbook
 	@echo "Generating info files..."
-	$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi}
+	$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi} -o ${manual_info}
 	$(STAMP) stamp-info-docbook
 
 doc-texinfo-docbook: stamp-texinfo-docbook