From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org
Subject: [PATCH 5/5] newlib: drop shared documentation rules
Date: Fri, 21 Jan 2022 23:32:08 -0500 [thread overview]
Message-ID: <20220122043208.21962-6-vapier@gentoo.org> (raw)
In-Reply-To: <20220122043208.21962-1-vapier@gentoo.org>
Now that the top-level makefile handles these, don't need to copy
these into every single subdir.
---
newlib/Makefile.shared | 36 -------------------
newlib/libc/argz/Makefile.in | 35 +-----------------
newlib/libc/ctype/Makefile.in | 35 +-----------------
newlib/libc/errno/Makefile.in | 35 +-----------------
newlib/libc/iconv/Makefile.in | 34 ------------------
newlib/libc/iconv/ccs/Makefile.in | 35 +-----------------
newlib/libc/iconv/ccs/binary/Makefile.in | 34 ------------------
newlib/libc/iconv/ces/Makefile.in | 35 +-----------------
newlib/libc/iconv/lib/Makefile.in | 35 +-----------------
newlib/libc/locale/Makefile.in | 35 +-----------------
newlib/libc/machine/i386/Makefile.in | 35 +-----------------
newlib/libc/misc/Makefile.in | 35 +-----------------
newlib/libc/posix/Makefile.in | 35 +-----------------
newlib/libc/reent/Makefile.in | 35 +-----------------
newlib/libc/search/Makefile.in | 35 +-----------------
newlib/libc/signal/Makefile.in | 35 +-----------------
newlib/libc/ssp/Makefile.in | 35 +-----------------
newlib/libc/stdio/Makefile.in | 35 +-----------------
newlib/libc/stdio64/Makefile.in | 35 +-----------------
newlib/libc/stdlib/Makefile.in | 35 +-----------------
newlib/libc/string/Makefile.in | 35 +-----------------
newlib/libc/sys/linux/argp/Makefile.in | 35 +-----------------
newlib/libc/sys/linux/cmath/Makefile.in | 35 +-----------------
newlib/libc/sys/linux/dl/Makefile.in | 35 +-----------------
newlib/libc/sys/linux/iconv/Makefile.in | 35 +-----------------
newlib/libc/sys/linux/intl/Makefile.in | 35 +-----------------
.../libc/sys/linux/linuxthreads/Makefile.in | 35 +-----------------
.../linuxthreads/machine/i386/Makefile.in | 35 +-----------------
.../libc/sys/linux/machine/i386/Makefile.in | 35 +-----------------
newlib/libc/sys/linux/net/Makefile.in | 35 +-----------------
newlib/libc/syscalls/Makefile.in | 35 +-----------------
newlib/libc/time/Makefile.in | 35 +-----------------
newlib/libc/unix/Makefile.in | 35 +-----------------
newlib/libc/xdr/Makefile.in | 35 +-----------------
newlib/libm/common/Makefile.in | 35 +-----------------
newlib/libm/complex/Makefile.in | 35 +-----------------
newlib/libm/fenv/Makefile.in | 35 +-----------------
newlib/libm/machine/aarch64/Makefile.in | 35 +-----------------
newlib/libm/machine/arm/Makefile.in | 35 +-----------------
newlib/libm/machine/i386/Makefile.in | 35 +-----------------
newlib/libm/machine/mips/Makefile.in | 35 +-----------------
newlib/libm/machine/nds32/Makefile.in | 35 +-----------------
newlib/libm/machine/powerpc/Makefile.in | 35 +-----------------
newlib/libm/machine/pru/Makefile.in | 35 +-----------------
newlib/libm/machine/riscv/Makefile.in | 35 +-----------------
newlib/libm/machine/sparc/Makefile.in | 35 +-----------------
newlib/libm/machine/spu/Makefile.in | 35 +-----------------
newlib/libm/machine/x86_64/Makefile.in | 35 +-----------------
newlib/libm/math/Makefile.in | 35 +-----------------
newlib/libm/mathfp/Makefile.in | 35 +-----------------
50 files changed, 47 insertions(+), 1702 deletions(-)
diff --git a/newlib/Makefile.shared b/newlib/Makefile.shared
index f1152fc627cf..00ea8533581c 100644
--- a/newlib/Makefile.shared
+++ b/newlib/Makefile.shared
@@ -4,39 +4,3 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
do \
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-
-#
-# documentation rules
-#
-
-SUFFIXES = .def .xml
-
-CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str
-
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- cat $(srcdir)/$$chapter >> $(TARGETDOC) ; \
- done
-
-DOCBOOK_CHEW = ${top_srcdir}/../doc/makedocbook.py
-DOCBOOK_OUT_FILES = $(CHEWOUT_FILES:.def=.xml)
-DOCBOOK_CHAPTERS = $(CHAPTERS:.tex=.xml)
-
-.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
-
-CLEANFILES = $(CHEWOUT_FILES) $(DOCBOOK_OUT_FILES)
diff --git a/newlib/libc/iconv/ccs/binary/Makefile.in b/newlib/libc/iconv/ccs/binary/Makefile.in
index a5b242b98b84..379c02e1c23e 100644
--- a/newlib/libc/iconv/ccs/binary/Makefile.in
+++ b/newlib/libc/iconv/ccs/binary/Makefile.in
@@ -309,20 +309,9 @@ cp775.cct cp850.cct cp852.cct cp855.cct cp866.cct \
jis_x0212_1990.cct jis_x0201_1976.cct jis_x0208_1990.cct ksx1001.cct \
cns11643_plane1.cct cns11643_plane2.cct cns11643_plane14.cct
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
all: all-am
.SUFFIXES:
-.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 \
@@ -415,7 +404,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -511,28 +499,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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.
diff --git a/newlib/libc/sys/linux/argp/Makefile.in b/newlib/libc/sys/linux/argp/Makefile.in
index b4104554a01e..d7faf3dbde0b 100644
--- a/newlib/libc/sys/linux/argp/Makefile.in
+++ b/newlib/libc/sys/linux/argp/Makefile.in
@@ -340,20 +340,10 @@ libargp_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)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .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 \
@@ -559,7 +549,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -662,28 +651,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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/sys/linux/cmath/Makefile.in b/newlib/libc/sys/linux/cmath/Makefile.in
index 76380af131f5..0c9a9dd50d8c 100644
--- a/newlib/libc/sys/linux/cmath/Makefile.in
+++ b/newlib/libc/sys/linux/cmath/Makefile.in
@@ -363,20 +363,10 @@ libcmath_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)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .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 \
@@ -744,7 +734,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -847,28 +836,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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/sys/linux/dl/Makefile.in b/newlib/libc/sys/linux/dl/Makefile.in
index 18798a921d9e..ae88d5ac4a3c 100644
--- a/newlib/libc/sys/linux/dl/Makefile.in
+++ b/newlib/libc/sys/linux/dl/Makefile.in
@@ -350,20 +350,10 @@ libdl_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)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .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 \
@@ -647,7 +637,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -750,28 +739,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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/sys/linux/iconv/Makefile.in b/newlib/libc/sys/linux/iconv/Makefile.in
index b4842171deb0..e274154dc8df 100644
--- a/newlib/libc/sys/linux/iconv/Makefile.in
+++ b/newlib/libc/sys/linux/iconv/Makefile.in
@@ -350,20 +350,10 @@ libiconv_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)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .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 \
@@ -632,7 +622,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -735,28 +724,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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/sys/linux/intl/Makefile.in b/newlib/libc/sys/linux/intl/Makefile.in
index b19def434f89..38e147fe3904 100644
--- a/newlib/libc/sys/linux/intl/Makefile.in
+++ b/newlib/libc/sys/linux/intl/Makefile.in
@@ -349,16 +349,6 @@ msgcatdir = /usr/share/locale
@USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a
@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(LIB_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
AM_CFLAGS = -DNOT_IN_libc -DHAVE_CONFIG_H -D_GNU_SOURCE -D__libc_enable_secure=1 -D'LOCALEDIR="$(msgcatdir)"' -D'LOCALE_ALIAS_PATH="$(msgcatdir)"' -DNLSPATH='"$(msgcatdir)/%L/%N:$(msgcatdir)/%L/LC_MESSAGES/%N:$(msgcatdir)/%l/%N:$(msgcatdir)/%l/LC_MESSAGES/%N:"'
# shouldn't have to do the following, but if needed
@@ -366,7 +356,7 @@ BISONFLAGS = --yacc --name-prefix=__gettext --output
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .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 \
@@ -626,7 +616,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -728,28 +717,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
do \
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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
plural.c: plural.y
$(BISON) $(BISONFLAGS) $@ $^
diff --git a/newlib/libc/sys/linux/linuxthreads/Makefile.in b/newlib/libc/sys/linux/linuxthreads/Makefile.in
index cf47655f022a..05355bcdd519 100644
--- a/newlib/libc/sys/linux/linuxthreads/Makefile.in
+++ b/newlib/libc/sys/linux/linuxthreads/Makefile.in
@@ -534,16 +534,6 @@ libthread_db_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) -release newlib
@USE_LIBTOOL_FALSE@libpthread_a_DEPENDENCIES = $(LIBADD_OBJS) $(MACHINE_LIB)
@USE_LIBTOOL_FALSE@libthread_db_a_SOURCES = $(LIB_DB_SOURCES)
@USE_LIBTOOL_FALSE@libthread_db_a_CFLAGS = $(AM_CFLAGS)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
AM_CFLAGS = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1
ACLOCAL_AMFLAGS = -I ../../../.. -I ../../../../.. -I ../../../../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
@@ -554,7 +544,7 @@ CFLAGS_pthread = -D__NO_WEAK_PTHREAD_ALIASES -DHAVE_Z_NODELETE
all: all-recursive
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .c .lo .o .obj
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../../Makefile.shared $(am__configure_deps)
@@ -1245,7 +1235,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -1360,28 +1349,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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
-
doc:
install-data-local: install-toollibLIBRARIES
diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in b/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in
index ae0907c37cd0..298300e4eb98 100644
--- a/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in
+++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/Makefile.in
@@ -350,23 +350,13 @@ liblinuxthreadsi386_la_LDFLAGS = -Xcompiler -nostdlib
@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(LIB_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
@USE_LIBTOOL_FALSE@lib_a_CCASFLAGS = $(AM_CCASFLAGS)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
AM_CFLAGS = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1
ACLOCAL_AMFLAGS = -I ../../../../../.. -I ../../../../../../.. -I ../../../../../../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .S .c .lo .o .obj
+.SUFFIXES: .S .c .lo .o .obj
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../../../../Makefile.shared $(am__configure_deps)
@@ -565,7 +555,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -672,28 +661,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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/sys/linux/machine/i386/Makefile.in b/newlib/libc/sys/linux/machine/i386/Makefile.in
index 3ab261652bfc..7b1ef28ba4de 100644
--- a/newlib/libc/sys/linux/machine/i386/Makefile.in
+++ b/newlib/libc/sys/linux/machine/i386/Makefile.in
@@ -352,22 +352,12 @@ AM_CCASFLAGS = -I$(srcdir)/../.. $(AM_CPPFLAGS)
@USE_LIBTOOL_FALSE@lib_a_SOURCES = $(LIB_SOURCES)
@USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS)
@USE_LIBTOOL_FALSE@lib_a_CCASFLAGS = $(AM_CCASFLAGS)
-
-#
-# documentation rules
-#
-SUFFIXES = .def .xml
-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) $(DOCBOOK_OUT_FILES)
ACLOCAL_AMFLAGS = -I ../../../../.. -I ../../../../../.. -I ../../../../../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .S .c .lo .o .obj
+.SUFFIXES: .S .c .lo .o .obj
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../../../../Makefile.shared $(am__configure_deps)
@@ -578,7 +568,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -685,28 +674,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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
-
all-local: crt0.o
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/newlib/libc/sys/linux/net/Makefile.in b/newlib/libc/sys/linux/net/Makefile.in
index 2e76ef9c83df..934405d3c973 100644
--- a/newlib/libc/sys/linux/net/Makefile.in
+++ b/newlib/libc/sys/linux/net/Makefile.in
@@ -477,20 +477,10 @@ libnet_la_CFLAGS = -DINET6
@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 .xml
-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) $(DOCBOOK_OUT_FILES)
all: all-am
.SUFFIXES:
-.SUFFIXES: .def .xml .c .lo .o .obj
+.SUFFIXES: .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 \
@@ -1587,7 +1577,6 @@ install-strip:
mostlyclean-generic:
clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -1690,28 +1679,6 @@ objectlist.awk.in: $(noinst_LTLIBRARIES)
echo $$i `pwd`/$$i >> objectlist.awk.in ; \
done
-.c.def:
- $(CHEW) < $< > $*.def || ( rm $*.def && false )
- @touch stmp-def
-
-TARGETDOC ?= ../tmp.texi
-
-doc: $(CHEWOUT_FILES)
- for chapter in $(CHAPTERS) ; \
- do \
- 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
-
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
for i in $(srcdir)/../include/arpa/*.h; do \
--
2.34.1
next prev parent reply other threads:[~2022-01-22 4:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-22 4:32 [PATCH 0/5] migrate documentation into top-level Mike Frysinger
2022-01-22 4:32 ` [PATCH 1/5] newlib: libm: move manual into top-level build Mike Frysinger
2022-01-22 4:32 ` [PATCH 2/5] newlib: libc: include all chapters all the time in the manual Mike Frysinger
2022-01-22 4:32 ` [PATCH 3/5] newlib: libc: move manual into top-level build Mike Frysinger
2022-01-24 14:30 ` Corinna Vinschen
2022-01-22 4:32 ` [PATCH 4/5] newlib: move man page generation " Mike Frysinger
2022-01-22 4:32 ` Mike Frysinger [this message]
2022-01-28 7:58 ` [PATCH 1/5 v2] newlib: libm: move manual " Mike Frysinger
2022-01-28 7:58 ` [PATCH 2/5 v2] newlib: libc: include all chapters all the time in the manual Mike Frysinger
2022-01-28 7:58 ` [PATCH 3/5 v2] newlib: libc: move manual into top-level build Mike Frysinger
2022-01-28 7:58 ` [PATCH 4/5 v2] newlib: move man page generation " Mike Frysinger
2022-01-28 7:58 ` [PATCH 5/5 v2] newlib: drop shared documentation rules Mike Frysinger
2022-01-31 14:58 ` [PATCH 1/5 v2] newlib: libm: move manual into top-level build Jon Turney
2022-02-01 3:40 ` Mike Frysinger
2022-02-01 14:37 ` Jon Turney
2022-02-01 6:21 ` [PATCH 1/5 v3] " Mike Frysinger
2022-02-01 6:21 ` [PATCH 2/5 v3] newlib: libc: include all chapters all the time in the manual Mike Frysinger
2022-02-01 6:21 ` [PATCH 3/5 v3] newlib: libc: move manual into top-level build Mike Frysinger
2022-02-01 6:21 ` [PATCH 4/5 v3] newlib: move man page generation " Mike Frysinger
2022-02-01 14:37 ` Jon Turney
2022-02-01 23:12 ` Mike Frysinger
2022-02-01 6:21 ` [PATCH 5/5 v3] newlib: drop shared documentation rules Mike Frysinger
2022-02-05 12:13 ` [PATCH 1/5 v3] newlib: libm: move manual into top-level build Corinna Vinschen
2022-02-05 18:04 ` Mike Frysinger
2022-02-07 10:30 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220122043208.21962-6-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).