diff options
Diffstat (limited to 'newlib/libc/errno/Makefile.in')
-rw-r--r-- | newlib/libc/errno/Makefile.in | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/newlib/libc/errno/Makefile.in b/newlib/libc/errno/Makefile.in index fe727e8be..a6c56c816 100644 --- a/newlib/libc/errno/Makefile.in +++ b/newlib/libc/errno/Makefile.in @@ -260,11 +260,15 @@ liberrno_la_LDFLAGS = -Xcompiler -nostdlib @USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a @USE_LIBTOOL_FALSE@lib_a_SOURCES = $(LIB_SOURCES) @USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS) -CHEWOUT_FILES = + +# +# documentation rules +# SUFFIXES = .def -CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str -TARGETDOC = ../tmp.texi +CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str CLEANFILES = $(CHEWOUT_FILES) *.ref +CHEWOUT_FILES = +CHAPTERS = all: all-am .SUFFIXES: @@ -528,8 +532,14 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) $(CHEW) < $< > $*.def 2> $*.ref touch stmp-def +TARGETDOC ?= ../tmp.texi + +doc: $(CHEWOUT_FILES) + for chapter in $(CHAPTERS) ; \ + do \ + cat $(srcdir)/$$chapter >> $(TARGETDOC) ; \ + done # No doc for errno. -doc: # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |