diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-12-04 18:08:28 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-12-07 11:54:11 +0000 |
commit | c006fd459f4df832b24e6c7a32228e154a0261ba (patch) | |
tree | 018c0ea52edf203b47acbfda6db5615904621f9d /newlib/libm | |
parent | 3476c8c868d95825f16710a6b893b62576f625de (diff) | |
download | newlib-c006fd459f4df832b24e6c7a32228e154a0261ba.zip newlib-c006fd459f4df832b24e6c7a32228e154a0261ba.tar.gz newlib-c006fd459f4df832b24e6c7a32228e154a0261ba.tar.bz2 |
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 <jon.turney@dronecode.org.uk>
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/common/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/complex/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/machine/aarch64/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/machine/arm/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/machine/i386/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/machine/nds32/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/machine/riscv/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/machine/spu/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/math/Makefile.in | 6 | ||||
-rw-r--r-- | newlib/libm/mathfp/Makefile.in | 6 |
10 files changed, 30 insertions, 30 deletions
diff --git a/newlib/libm/common/Makefile.in b/newlib/libm/common/Makefile.in index c603be3..6a0ba73 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 ba30971..1c87878 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 2c5a3e7..d31237e 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 5088db8..0a5a273 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 f3f16f9..13f536e 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 d314886..a72bc6f 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 511b378..68cb678 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 fa7a30c..ef4e3f4 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 1f5a694..0ac2b16 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 76db091..383121b 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 |