[PATCH] Fix 'make man' after 67208d9e

Jon Turney jon.turney@dronecode.org.uk
Tue Nov 16 15:11:44 GMT 2021


Remove a left over use of doc/Makefile after 67208d9e ('newlib: merge
doc into top-level Makefile') to fix 'make man'.
---
 newlib/Makefile.am | 2 +-
 newlib/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 1ab75f995..d3da43a4b 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -426,7 +426,7 @@ info-recursive dvi-recursive: doc/makedoc$(EXEEXT_FOR_BUILD)
 
 # Recursive targets for man and install-man
 man:
-	(cd doc && $(MAKE) man-cache) || exit 1; \
+	$(MAKE) man-cache || exit 1; \
 	for d in $(SUBDIRS); do \
 	  if test "$$d" != "."; then \
 	    (cd $$d && $(MAKE) man) || exit 1; \
diff --git a/newlib/Makefile.in b/newlib/Makefile.in
index cbbb92197..bf15dfea3 100644
--- a/newlib/Makefile.in
+++ b/newlib/Makefile.in
@@ -1189,7 +1189,7 @@ info-recursive dvi-recursive: doc/makedoc$(EXEEXT_FOR_BUILD)
 
 # Recursive targets for man and install-man
 man:
-	(cd doc && $(MAKE) man-cache) || exit 1; \
+	$(MAKE) man-cache || exit 1; \
 	for d in $(SUBDIRS); do \
 	  if test "$$d" != "."; then \
 	    (cd $$d && $(MAKE) man) || exit 1; \
-- 
2.33.0



More information about the Newlib mailing list