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.
This commit is contained in:
parent
73d515fcfe
commit
866de704f3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue