aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/iconv/ccs
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-07-04 17:09:30 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2016-07-04 17:13:55 +0100
commitd7e47a557e62ba0f96067e4ca84d1d931be3972f (patch)
tree4ebdb4014f8443ef7df205f1bd0865c49b114942 /newlib/libc/iconv/ccs
parent0b4cbd2fb82ba588a82c148bd723e46dea05d523 (diff)
downloadnewlib-d7e47a557e62ba0f96067e4ca84d1d931be3972f.zip
newlib-d7e47a557e62ba0f96067e4ca84d1d931be3972f.tar.gz
newlib-d7e47a557e62ba0f96067e4ca84d1d931be3972f.tar.bz2
Regenerate newlib Makefiles
Diffstat (limited to 'newlib/libc/iconv/ccs')
-rw-r--r--newlib/libc/iconv/ccs/Makefile.in19
-rw-r--r--newlib/libc/iconv/ccs/binary/Makefile.in19
2 files changed, 32 insertions, 6 deletions
diff --git a/newlib/libc/iconv/ccs/Makefile.in b/newlib/libc/iconv/ccs/Makefile.in
index 3be5319..4de6bc9 100644
--- a/newlib/libc/iconv/ccs/Makefile.in
+++ b/newlib/libc/iconv/ccs/Makefile.in
@@ -355,13 +355,16 @@ CHAPTERS =
#
# documentation rules
#
-SUFFIXES = .def
+SUFFIXES = .def .xml
CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str
-CLEANFILES = $(CHEWOUT_FILES) *.ref
+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)
all: all-recursive
.SUFFIXES:
-.SUFFIXES: .def .c .lo .o .obj
+.SUFFIXES: .def .xml .c .lo .o .obj
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../Makefile.shared $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
@@ -950,6 +953,16 @@ doc: $(CHEWOUT_FILES)
cat $(srcdir)/$$chapter >> $(TARGETDOC) ; \
done
+.c.xml:
+ $(DOCBOOK_CHEW) < $< > $*.xml || ( rm $*.xml && false )
+ @touch stmp-xml
+
+docbook: $(DOCBOOK_OUT_FILES)
+ for chapter in $(DOCBOOK_CHAPTERS) ; \
+ do \
+ ${top_srcdir}/../doc/chapter-texi2docbook.py <$(srcdir)/$${chapter%.xml}.tex >../$$chapter ; \
+ 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.
.NOEXPORT:
diff --git a/newlib/libc/iconv/ccs/binary/Makefile.in b/newlib/libc/iconv/ccs/binary/Makefile.in
index 6336b41..be683c6 100644
--- a/newlib/libc/iconv/ccs/binary/Makefile.in
+++ b/newlib/libc/iconv/ccs/binary/Makefile.in
@@ -268,13 +268,16 @@ cns11643_plane1.cct cns11643_plane2.cct cns11643_plane14.cct
#
# documentation rules
#
-SUFFIXES = .def
+SUFFIXES = .def .xml
CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str
-CLEANFILES = $(CHEWOUT_FILES) *.ref
+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)
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .c
+.SUFFIXES: .def .xml .c
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../../Makefile.shared $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
@@ -474,6 +477,16 @@ doc: $(CHEWOUT_FILES)
cat $(srcdir)/$$chapter >> $(TARGETDOC) ; \
done
+.c.xml:
+ $(DOCBOOK_CHEW) < $< > $*.xml || ( rm $*.xml && false )
+ @touch stmp-xml
+
+docbook: $(DOCBOOK_OUT_FILES)
+ for chapter in $(DOCBOOK_CHAPTERS) ; \
+ do \
+ ${top_srcdir}/../doc/chapter-texi2docbook.py <$(srcdir)/$${chapter%.xml}.tex >../$$chapter ; \
+ done
+
info:
# Tell versions [3.59,3.63) of GNU make to not export all variables.