From c006fd459f4df832b24e6c7a32228e154a0261ba Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 4 Dec 2017 18:08:28 +0000 Subject: 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/libc/unix/Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/unix/Makefile.in') diff --git a/newlib/libc/unix/Makefile.in b/newlib/libc/unix/Makefile.in index 0657bc7..9d7da14 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 -- cgit v1.1