public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: newlib@sourceware.org
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH] Fix 'make man' after 67208d9e
Date: Tue, 16 Nov 2021 15:11:44 +0000	[thread overview]
Message-ID: <20211116151144.54579-1-jon.turney@dronecode.org.uk> (raw)

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


             reply	other threads:[~2021-11-16 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16 15:11 Jon Turney [this message]
2021-11-16 17:39 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211116151144.54579-1-jon.turney@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).