aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/math/Makefile.in
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2017-12-04 18:08:28 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2017-12-07 11:54:11 +0000
commitc006fd459f4df832b24e6c7a32228e154a0261ba (patch)
tree018c0ea52edf203b47acbfda6db5615904621f9d /newlib/libm/math/Makefile.in
parent3476c8c868d95825f16710a6b893b62576f625de (diff)
downloadnewlib-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/math/Makefile.in')
-rw-r--r--newlib/libm/math/Makefile.in6
1 files changed, 3 insertions, 3 deletions
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