Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio64/Makefile.in')
-rw-r--r--newlib/libc/stdio64/Makefile.in19
1 files changed, 14 insertions, 5 deletions
diff --git a/newlib/libc/stdio64/Makefile.in b/newlib/libc/stdio64/Makefile.in
index d445f53df..6adcf7e14 100644
--- a/newlib/libc/stdio64/Makefile.in
+++ b/newlib/libc/stdio64/Makefile.in
@@ -291,6 +291,13 @@ libstdio64_la_LDFLAGS = -Xcompiler -nostdlib
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
+
+#
+# documentation rules
+#
+SUFFIXES = .def
+CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str
+CLEANFILES = $(CHEWOUT_FILES) *.ref
AM_CFLAGS = -I $(srcdir)/../stdio
CHEWOUT_FILES = \
fdopen64.def \
@@ -302,10 +309,7 @@ CHEWOUT_FILES = \
ftello64.def \
tmpfile64.def
-SUFFIXES = .def
-CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
-TARGETDOC = ../tmp.texi
-CLEANFILES = $(CHEWOUT_FILES) *.ref
+CHAPTERS = stdio64.tex
all: all-am
.SUFFIXES:
@@ -623,8 +627,13 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
$(CHEW) < $< > $*.def 2> $*.ref
touch stmp-def
+TARGETDOC ?= ../tmp.texi
+
doc: $(CHEWOUT_FILES)
- cat $(srcdir)/stdio64.tex >> $(TARGETDOC)
+ for chapter in $(CHAPTERS) ; \
+ do \
+ cat $(srcdir)/$$chapter >> $(TARGETDOC) ; \
+ done
# 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.