From c006fd459f4df832b24e6c7a32228e154a0261ba Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 4 Dec 2017 18:08:28 +0000 Subject: [PATCH] makedoc: make errors visible Discard QUICKREF sections, rather than writing them to stderr Discard MATHREF sections, rather than discarding as an error Pass NOTES sections through to texinfo, rather than discarding as an error Don't redirect makedoc stderr to .ref file Remove makedoc output on error Remove .ref files from CLEANFILES Regenerate Makefile.ins Signed-off-by: Jon Turney --- newlib/Makefile.shared | 6 +-- newlib/doc/doc.str | 10 ++-- newlib/doc/makedoc.c | 47 ------------------- newlib/libc/argz/Makefile.in | 6 +-- newlib/libc/ctype/Makefile.in | 6 +-- newlib/libc/errno/Makefile.in | 6 +-- newlib/libc/iconv/Makefile.in | 6 +-- newlib/libc/iconv/ccs/Makefile.in | 6 +-- newlib/libc/iconv/ccs/binary/Makefile.in | 6 +-- newlib/libc/iconv/ces/Makefile.in | 6 +-- newlib/libc/iconv/lib/Makefile.in | 6 +-- newlib/libc/locale/Makefile.in | 6 +-- newlib/libc/machine/i386/Makefile.in | 6 +-- newlib/libc/misc/Makefile.in | 6 +-- newlib/libc/posix/Makefile.in | 6 +-- newlib/libc/reent/Makefile.in | 6 +-- newlib/libc/search/Makefile.in | 6 +-- newlib/libc/signal/Makefile.in | 6 +-- newlib/libc/ssp/Makefile.in | 6 +-- newlib/libc/stdio/Makefile.in | 6 +-- newlib/libc/stdio64/Makefile.in | 6 +-- newlib/libc/stdlib/Makefile.in | 6 +-- newlib/libc/string/Makefile.in | 6 +-- newlib/libc/sys/linux/argp/Makefile.in | 6 +-- newlib/libc/sys/linux/cmath/Makefile.in | 6 +-- newlib/libc/sys/linux/dl/Makefile.in | 6 +-- newlib/libc/sys/linux/iconv/Makefile.in | 6 +-- newlib/libc/sys/linux/intl/Makefile.in | 6 +-- .../libc/sys/linux/linuxthreads/Makefile.in | 6 +-- .../linuxthreads/machine/i386/Makefile.in | 6 +-- .../libc/sys/linux/machine/i386/Makefile.in | 6 +-- newlib/libc/sys/linux/net/Makefile.in | 6 +-- newlib/libc/syscalls/Makefile.in | 6 +-- newlib/libc/time/Makefile.in | 6 +-- newlib/libc/unix/Makefile.in | 6 +-- newlib/libc/xdr/Makefile.in | 6 +-- newlib/libm/common/Makefile.in | 6 +-- newlib/libm/complex/Makefile.in | 6 +-- newlib/libm/machine/aarch64/Makefile.in | 6 +-- newlib/libm/machine/arm/Makefile.in | 6 +-- newlib/libm/machine/i386/Makefile.in | 6 +-- newlib/libm/machine/nds32/Makefile.in | 6 +-- newlib/libm/machine/riscv/Makefile.in | 6 +-- newlib/libm/machine/spu/Makefile.in | 6 +-- newlib/libm/math/Makefile.in | 6 +-- newlib/libm/mathfp/Makefile.in | 6 +-- 46 files changed, 139 insertions(+), 182 deletions(-) diff --git a/newlib/Makefile.shared b/newlib/Makefile.shared index c9ce5f468..f1152fc62 100644 --- a/newlib/Makefile.shared +++ b/newlib/Makefile.shared @@ -14,8 +14,8 @@ SUFFIXES = .def .xml CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi @@ -39,4 +39,4 @@ docbook: $(DOCBOOK_OUT_FILES) ${top_srcdir}/../doc/chapter-texi2docbook.py <$(srcdir)/$${chapter%.xml}.tex >../$$chapter ; \ done -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) diff --git a/newlib/doc/doc.str b/newlib/doc/doc.str index 3fc1006f8..949c6e794 100644 --- a/newlib/doc/doc.str +++ b/newlib/doc/doc.str @@ -17,9 +17,10 @@ : QUICKREF skip_past_newline - get_stuff_in_command - "&&~&&~&&\cr\tablerule\n" - quickref + ; + +: MATHREF + skip_past_newline ; : EXAMPLE @@ -153,6 +154,9 @@ : SEEALSO "@strong{See Also}@*\n" catstr subhead ; +: NOTES + "@strong{Notes}@*\n" catstr subhead ; + : INTERNAL_FUNCTION ; diff --git a/newlib/doc/makedoc.c b/newlib/doc/makedoc.c index 96362f782..fdcc5b926 100644 --- a/newlib/doc/makedoc.c +++ b/newlib/doc/makedoc.c @@ -444,52 +444,6 @@ WORD(translatecomments) } -/* find something like - QUICKREF - memchar ansi pure - - into - merge with words on tos and output them to stderror - -*/ -WORD(quickref) -{ - string_type *nos = tos-1; - unsigned int nosscan = 0; - unsigned int idx = 0; - - while (at(tos, idx)) - { - if (at(tos,idx) == '~') - { - /* Skip the whitespace */ - while (at(nos, nosscan) == ' ') - nosscan++; - - /* Sub the next word from the nos*/ - while (at(nos, nosscan) != ' ' && - at(nos, nosscan) != 0) - { - fprintf(stderr, "%c", at(nos, nosscan)); - nosscan++; - } - } - - else - { - fprintf(stderr,"%c", at(tos, idx)); - - } - idx++; - } - - delete_string(tos); - delete_string(nos); - tos-=2; - pc++; - -} - #if 0 /* turn everything not starting with a . into a comment */ @@ -1428,7 +1382,6 @@ char *av[]) add_intrinsic("translatecomments", translatecomments ); add_intrinsic("kill_bogus_lines", kill_bogus_lines); add_intrinsic("indent", indent); - add_intrinsic("quickref", quickref); add_intrinsic("internalmode", internalmode); /* Put a nl at the start */ diff --git a/newlib/libc/argz/Makefile.in b/newlib/libc/argz/Makefile.in index a129dc0fc..e18a2d117 100644 --- a/newlib/libc/argz/Makefile.in +++ b/newlib/libc/argz/Makefile.in @@ -319,7 +319,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -694,8 +694,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/ctype/Makefile.in b/newlib/libc/ctype/Makefile.in index f883e1c99..2b2331767 100644 --- a/newlib/libc/ctype/Makefile.in +++ b/newlib/libc/ctype/Makefile.in @@ -425,7 +425,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = \ isalnum.def \ isalpha.def \ @@ -1124,8 +1124,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/errno/Makefile.in b/newlib/libc/errno/Makefile.in index 4855f926b..724def236 100644 --- a/newlib/libc/errno/Makefile.in +++ b/newlib/libc/errno/Makefile.in @@ -269,7 +269,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = CHAPTERS = all: all-am @@ -532,8 +532,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/iconv/Makefile.in b/newlib/libc/iconv/Makefile.in index 1bdf44b34..3bc64c587 100644 --- a/newlib/libc/iconv/Makefile.in +++ b/newlib/libc/iconv/Makefile.in @@ -276,7 +276,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = iconv.def CHAPTERS = iconv.tex all: all-recursive @@ -606,8 +606,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/iconv/ccs/Makefile.in b/newlib/libc/iconv/ccs/Makefile.in index 4de6bc9ad..ff849d544 100644 --- a/newlib/libc/iconv/ccs/Makefile.in +++ b/newlib/libc/iconv/ccs/Makefile.in @@ -360,7 +360,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-recursive .SUFFIXES: @@ -942,8 +942,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/iconv/ccs/binary/Makefile.in b/newlib/libc/iconv/ccs/binary/Makefile.in index be683c638..0748e7936 100644 --- a/newlib/libc/iconv/ccs/binary/Makefile.in +++ b/newlib/libc/iconv/ccs/binary/Makefile.in @@ -273,7 +273,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -466,8 +466,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/iconv/ces/Makefile.in b/newlib/libc/iconv/ces/Makefile.in index b4c17c536..ab3836096 100644 --- a/newlib/libc/iconv/ces/Makefile.in +++ b/newlib/libc/iconv/ces/Makefile.in @@ -296,7 +296,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = CHAPTERS = all: all-am @@ -607,8 +607,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/iconv/lib/Makefile.in b/newlib/libc/iconv/lib/Makefile.in index 85e3394e7..ee4510a38 100644 --- a/newlib/libc/iconv/lib/Makefile.in +++ b/newlib/libc/iconv/lib/Makefile.in @@ -279,7 +279,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = iconv.def CHAPTER = all: all-am @@ -560,8 +560,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/locale/Makefile.in b/newlib/libc/locale/Makefile.in index 07efc34ab..c939fa358 100644 --- a/newlib/libc/locale/Makefile.in +++ b/newlib/libc/locale/Makefile.in @@ -298,7 +298,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = \ duplocale.def \ freelocale.def \ @@ -633,8 +633,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/machine/i386/Makefile.in b/newlib/libc/machine/i386/Makefile.in index fb5808064..5ab7c00b6 100644 --- a/newlib/libc/machine/i386/Makefile.in +++ b/newlib/libc/machine/i386/Makefile.in @@ -273,7 +273,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -588,8 +588,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/misc/Makefile.in b/newlib/libc/misc/Makefile.in index e7925231c..803db8d23 100644 --- a/newlib/libc/misc/Makefile.in +++ b/newlib/libc/misc/Makefile.in @@ -278,7 +278,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = unctrl.def lock.def ffs.def CHAPTERS = misc.tex all: all-am @@ -571,8 +571,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/posix/Makefile.in b/newlib/libc/posix/Makefile.in index 360f2ca87..147476a33 100644 --- a/newlib/libc/posix/Makefile.in +++ b/newlib/libc/posix/Makefile.in @@ -328,7 +328,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = \ popen.def \ posix_spawn.def @@ -775,8 +775,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/reent/Makefile.in b/newlib/libc/reent/Makefile.in index 62b8500d4..4b323f209 100644 --- a/newlib/libc/reent/Makefile.in +++ b/newlib/libc/reent/Makefile.in @@ -343,7 +343,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = \ closer.def \ reent.def \ @@ -776,8 +776,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/search/Makefile.in b/newlib/libc/search/Makefile.in index dc748c2b8..54f33e122 100644 --- a/newlib/libc/search/Makefile.in +++ b/newlib/libc/search/Makefile.in @@ -328,7 +328,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -685,8 +685,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/signal/Makefile.in b/newlib/libc/signal/Makefile.in index ad5bddc0e..2f89f73d1 100644 --- a/newlib/libc/signal/Makefile.in +++ b/newlib/libc/signal/Makefile.in @@ -270,7 +270,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = psignal.def raise.def signal.def CHAPTERS = signal.tex all: all-am @@ -545,8 +545,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/ssp/Makefile.in b/newlib/libc/ssp/Makefile.in index 7b5ca11ff..8de2d36c6 100644 --- a/newlib/libc/ssp/Makefile.in +++ b/newlib/libc/ssp/Makefile.in @@ -323,7 +323,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -680,8 +680,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/stdio/Makefile.in b/newlib/libc/stdio/Makefile.in index 061554d2d..aa22a0e3a 100644 --- a/newlib/libc/stdio/Makefile.in +++ b/newlib/libc/stdio/Makefile.in @@ -657,7 +657,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) @NEWLIB_NANO_FORMATTED_IO_FALSE@CHEWOUT_INT_FORMATTED_IO_FILES = \ @NEWLIB_NANO_FORMATTED_IO_FALSE@ diprintf.def \ @NEWLIB_NANO_FORMATTED_IO_FALSE@ siprintf.def \ @@ -1859,8 +1859,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/stdio64/Makefile.in b/newlib/libc/stdio64/Makefile.in index 5e77115c7..d002af62a 100644 --- a/newlib/libc/stdio64/Makefile.in +++ b/newlib/libc/stdio64/Makefile.in @@ -300,7 +300,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) AM_CFLAGS = -I $(srcdir)/../stdio CHEWOUT_FILES = \ fdopen64.def \ @@ -627,8 +627,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/stdlib/Makefile.in b/newlib/libc/stdlib/Makefile.in index 00d07bf6d..5cca4f2e5 100644 --- a/newlib/libc/stdlib/Makefile.in +++ b/newlib/libc/stdlib/Makefile.in @@ -500,7 +500,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) MALLOC_COMPILE = $(LIB_COMPILE) -DINTERNAL_NEWLIB CHEWOUT_FILES = \ _Exit.def \ @@ -1561,8 +1561,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/string/Makefile.in b/newlib/libc/string/Makefile.in index a73d2fe7b..eb8fafc6b 100644 --- a/newlib/libc/string/Makefile.in +++ b/newlib/libc/string/Makefile.in @@ -485,7 +485,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = \ bcmp.def memcpy.def strcmp.def strncat.def strstr.def \ bcopy.def memmove.def strcoll.def strncmp.def strtok.def \ @@ -1392,8 +1392,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/argp/Makefile.in b/newlib/libc/sys/linux/argp/Makefile.in index cfd05bd81..76841d1ec 100644 --- a/newlib/libc/sys/linux/argp/Makefile.in +++ b/newlib/libc/sys/linux/argp/Makefile.in @@ -263,7 +263,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -572,8 +572,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/cmath/Makefile.in b/newlib/libc/sys/linux/cmath/Makefile.in index 882b17e5f..2c6c3da26 100644 --- a/newlib/libc/sys/linux/cmath/Makefile.in +++ b/newlib/libc/sys/linux/cmath/Makefile.in @@ -286,7 +286,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -757,8 +757,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/dl/Makefile.in b/newlib/libc/sys/linux/dl/Makefile.in index e1c8485ae..6598fd8d5 100644 --- a/newlib/libc/sys/linux/dl/Makefile.in +++ b/newlib/libc/sys/linux/dl/Makefile.in @@ -273,7 +273,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -660,8 +660,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/iconv/Makefile.in b/newlib/libc/sys/linux/iconv/Makefile.in index f535c3796..238c62d4a 100644 --- a/newlib/libc/sys/linux/iconv/Makefile.in +++ b/newlib/libc/sys/linux/iconv/Makefile.in @@ -273,7 +273,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -645,8 +645,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/intl/Makefile.in b/newlib/libc/sys/linux/intl/Makefile.in index 2c2999abd..b54bfe152 100644 --- a/newlib/libc/sys/linux/intl/Makefile.in +++ b/newlib/libc/sys/linux/intl/Makefile.in @@ -272,7 +272,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) AM_CFLAGS = -DNOT_IN_libc -DHAVE_CONFIG_H -D_GNU_SOURCE -D__libc_enable_secure=1 -D'LOCALEDIR="$(msgcatdir)"' -D'LOCALE_ALIAS_PATH="$(msgcatdir)"' -DNLSPATH='"$(msgcatdir)/%L/%N:$(msgcatdir)/%L/LC_MESSAGES/%N:$(msgcatdir)/%l/%N:$(msgcatdir)/%l/LC_MESSAGES/%N:"' # shouldn't have to do the following, but if needed @@ -639,8 +639,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/linuxthreads/Makefile.in b/newlib/libc/sys/linux/linuxthreads/Makefile.in index 49094bece..ce07c8344 100644 --- a/newlib/libc/sys/linux/linuxthreads/Makefile.in +++ b/newlib/libc/sys/linux/linuxthreads/Makefile.in @@ -451,7 +451,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) AM_CFLAGS = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 ACLOCAL_AMFLAGS = -I ../../../.. -I ../../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host @@ -1290,8 +1290,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in b/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in index f3c78282e..87797a0b3 100644 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in +++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in @@ -265,7 +265,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) AM_CFLAGS = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 ACLOCAL_AMFLAGS = -I ../../../../../.. -I ../../../../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host @@ -566,8 +566,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/machine/i386/Makefile.in b/newlib/libc/sys/linux/machine/i386/Makefile.in index c4edaaf93..80cc02161 100644 --- a/newlib/libc/sys/linux/machine/i386/Makefile.in +++ b/newlib/libc/sys/linux/machine/i386/Makefile.in @@ -267,7 +267,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../../../.. -I ../../../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -579,8 +579,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/sys/linux/net/Makefile.in b/newlib/libc/sys/linux/net/Makefile.in index f11a55410..cce36182e 100644 --- a/newlib/libc/sys/linux/net/Makefile.in +++ b/newlib/libc/sys/linux/net/Makefile.in @@ -400,7 +400,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -1600,8 +1600,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/syscalls/Makefile.in b/newlib/libc/syscalls/Makefile.in index 8ff80d4d8..5c1cc3aec 100644 --- a/newlib/libc/syscalls/Makefile.in +++ b/newlib/libc/syscalls/Makefile.in @@ -310,7 +310,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = CHAPTERS = all: all-am @@ -681,8 +681,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/time/Makefile.in b/newlib/libc/time/Makefile.in index 4d91d682a..a32333234 100644 --- a/newlib/libc/time/Makefile.in +++ b/newlib/libc/time/Makefile.in @@ -306,7 +306,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = \ asctime.def \ clock.def \ @@ -708,8 +708,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/unix/Makefile.in b/newlib/libc/unix/Makefile.in index 0657bc710..9d7da14a4 100644 --- a/newlib/libc/unix/Makefile.in +++ b/newlib/libc/unix/Makefile.in @@ -310,7 +310,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = CHAPTERS = all: all-am @@ -639,8 +639,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libc/xdr/Makefile.in b/newlib/libc/xdr/Makefile.in index 29a49dc08..7495c1178 100644 --- a/newlib/libc/xdr/Makefile.in +++ b/newlib/libc/xdr/Makefile.in @@ -306,7 +306,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) all: all-am .SUFFIXES: @@ -621,8 +621,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/common/Makefile.in b/newlib/libm/common/Makefile.in index c603be361..6a0ba73d2 100644 --- a/newlib/libm/common/Makefile.in +++ b/newlib/libm/common/Makefile.in @@ -391,7 +391,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = s_cbrt.def s_copysign.def s_exp10.def s_expm1.def s_ilogb.def \ s_infinity.def s_isnan.def s_log1p.def s_matherr.def s_modf.def \ s_nan.def s_nextafter.def s_pow10.def s_scalbn.def \ @@ -1495,8 +1495,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/complex/Makefile.in b/newlib/libm/complex/Makefile.in index ba30971be..1c878780a 100644 --- a/newlib/libm/complex/Makefile.in +++ b/newlib/libm/complex/Makefile.in @@ -316,7 +316,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = cabs.def cacos.def cacosh.def carg.def \ casin.def casinh.def catan.def catanh.def \ ccos.def ccosh.def cexp.def cimag.def clog.def \ @@ -1020,8 +1020,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/machine/aarch64/Makefile.in b/newlib/libm/machine/aarch64/Makefile.in index 2c5a3e71f..d31237e0f 100644 --- a/newlib/libm/machine/aarch64/Makefile.in +++ b/newlib/libm/machine/aarch64/Makefile.in @@ -256,7 +256,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -677,8 +677,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/machine/arm/Makefile.in b/newlib/libm/machine/arm/Makefile.in index 5088db828..0a5a27327 100644 --- a/newlib/libm/machine/arm/Makefile.in +++ b/newlib/libm/machine/arm/Makefile.in @@ -232,7 +232,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -557,8 +557,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/machine/i386/Makefile.in b/newlib/libm/machine/i386/Makefile.in index f3f16f9d1..13f536e40 100644 --- a/newlib/libm/machine/i386/Makefile.in +++ b/newlib/libm/machine/i386/Makefile.in @@ -284,7 +284,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -710,8 +710,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/machine/nds32/Makefile.in b/newlib/libm/machine/nds32/Makefile.in index d31488610..a72bc6f9c 100644 --- a/newlib/libm/machine/nds32/Makefile.in +++ b/newlib/libm/machine/nds32/Makefile.in @@ -223,7 +223,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -476,8 +476,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/machine/riscv/Makefile.in b/newlib/libm/machine/riscv/Makefile.in index 511b3785d..68cb6780a 100644 --- a/newlib/libm/machine/riscv/Makefile.in +++ b/newlib/libm/machine/riscv/Makefile.in @@ -221,7 +221,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -534,8 +534,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/machine/spu/Makefile.in b/newlib/libm/machine/spu/Makefile.in index fa7a30ce7..ef4e3f4c7 100644 --- a/newlib/libm/machine/spu/Makefile.in +++ b/newlib/libm/machine/spu/Makefile.in @@ -296,7 +296,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am @@ -1287,8 +1287,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/math/Makefile.in b/newlib/libm/math/Makefile.in index 1f5a69406..0ac2b1668 100644 --- a/newlib/libm/math/Makefile.in +++ b/newlib/libm/math/Makefile.in @@ -394,7 +394,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = w_acos.def w_acosh.def w_asin.def s_asinh.def \ s_atan.def w_atan2.def w_atanh.def w_j0.def \ w_cosh.def s_erf.def w_exp.def w_exp2.def \ @@ -1469,8 +1469,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi diff --git a/newlib/libm/mathfp/Makefile.in b/newlib/libm/mathfp/Makefile.in index 76db091d8..383121bd6 100644 --- a/newlib/libm/mathfp/Makefile.in +++ b/newlib/libm/mathfp/Makefile.in @@ -357,7 +357,7 @@ CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml) DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml) -CLEANFILES = $(CHEWOUT_FILES) $(CHEWOUT_FILES:.def=.ref) $(DOCBOOK_OUT_FILES) +CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES) CHEWOUT_FILES = e_acosh.def \ e_atanh.def \ e_hypot.def \ @@ -1200,8 +1200,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) done .c.def: - $(CHEW) < $< > $*.def 2> $*.ref - touch stmp-def + $(CHEW) < $< > $*.def || ( rm $*.def && false ) + @touch stmp-def TARGETDOC ?= ../tmp.texi