summaryrefslogtreecommitdiffstats
path: root/newlib/libc/iconv/lib/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/iconv/lib/Makefile.in')
-rw-r--r--newlib/libc/iconv/lib/Makefile.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/newlib/libc/iconv/lib/Makefile.in b/newlib/libc/iconv/lib/Makefile.in
index 786016471..c19808e7d 100644
--- a/newlib/libc/iconv/lib/Makefile.in
+++ b/newlib/libc/iconv/lib/Makefile.in
@@ -270,10 +270,15 @@ noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
lib_a_CFLAGS = $(AM_CFLAGS)
noinst_DATA =
-CHEWOUT_FILES = iconv.def
+
+#
+# documentation rules
+#
SUFFIXES = .def
-CHEW = ../../../doc/makedoc -f $(srcdir)/../../../doc/doc.str
+CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str
CLEANFILES = $(CHEWOUT_FILES) *.ref
+CHEWOUT_FILES = iconv.def
+CHAPTER =
all: all-am
.SUFFIXES:
@@ -555,7 +560,13 @@ 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
# 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.