Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-27 05:41:47 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-27 05:41:47 +0300
commit866de704f3b5b8f8d297b1adf5e4c5fc62b93c16 (patch)
tree0720252ee8f020594c973258a264600791ae5a51 /newlib/libc
parent73d515fcfecd1004ccffef8fcd0c7223b9eec6ab (diff)
newlib: fix info+man page builds
The work to merge libc/machine/ up a dir lost the stub doc targets. So when libc/ recursed into machine/, it would stop going deeper as the doc rules were empty. But now that libc/ goes directly into the libc/machine/$arch/ and those have never had doc stubs, the build fails. Add a quick hack to the top dir to ignore all machine/$arch/ dirs when generating docs. A follow up series will delete all of this code as it merges all the doc rules into the top newlib dir.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/Makefile.am4
-rw-r--r--newlib/libc/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/Makefile.am b/newlib/libc/Makefile.am
index 7807291ba..5151e00da 100644
--- a/newlib/libc/Makefile.am
+++ b/newlib/libc/Makefile.am
@@ -199,7 +199,7 @@ stmp-targetdep: force
rm -f tmp-targetdep.texi
targetdoc=`pwd`/tmp-targetdep.texi; \
for d in $(SUBDIRS); do \
- if test "$$d" != "."; then \
+ if test "$$d" != "." && test "$$d" != "$(LIBC_MACHINE_DIR)"; then \
(cd $$d && $(MAKE) TARGETDOC=$${targetdoc} doc) || exit 1; \
fi; \
done
@@ -218,7 +218,7 @@ libc_TEXINFOS = sigset.texi posix.texi stdio64.texi iconvset.texi \
docbook-recursive: force
for d in $(SUBDIRS); do \
- if test "$$d" != "."; then \
+ if test "$$d" != "." && test "$$d" != "$(LIBC_MACHINE_DIR)"; then \
(cd $$d && $(MAKE) docbook) || exit 1; \
fi; \
done
diff --git a/newlib/libc/Makefile.in b/newlib/libc/Makefile.in
index 7e29c18e1..27d014496 100644
--- a/newlib/libc/Makefile.in
+++ b/newlib/libc/Makefile.in
@@ -1185,7 +1185,7 @@ stmp-targetdep: force
rm -f tmp-targetdep.texi
targetdoc=`pwd`/tmp-targetdep.texi; \
for d in $(SUBDIRS); do \
- if test "$$d" != "."; then \
+ if test "$$d" != "." && test "$$d" != "$(LIBC_MACHINE_DIR)"; then \
(cd $$d && $(MAKE) TARGETDOC=$${targetdoc} doc) || exit 1; \
fi; \
done
@@ -1199,7 +1199,7 @@ $(SUBDEFS): stmp-targetdep ; @true
docbook-recursive: force
for d in $(SUBDIRS); do \
- if test "$$d" != "."; then \
+ if test "$$d" != "." && test "$$d" != "$(LIBC_MACHINE_DIR)"; then \
(cd $$d && $(MAKE) docbook) || exit 1; \
fi; \
done