From 6026ef29d8c847716a745bb6e11aa1d2c36a2b64 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 21 Jan 2022 22:50:42 -0500 Subject: newlib: move man page generation into top-level build This allows building the libc & libm pages in parallel, and drops the duplication in the subdirs with the chew/chapter settings. The unused rules in Makefile.shared are left in place to minimize noise in the change. --- newlib/libc/locale/Makefile.am | 6 ------ newlib/libc/locale/Makefile.in | 9 ++------- 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'newlib/libc/locale') diff --git a/newlib/libc/locale/Makefile.am b/newlib/libc/locale/Makefile.am index 3055d0c..c060496 100644 --- a/newlib/libc/locale/Makefile.am +++ b/newlib/libc/locale/Makefile.am @@ -35,9 +35,3 @@ noinst_DATA = endif # USE_LIBTOOL include $(srcdir)/../../Makefile.shared - -LIBC_CHEWOUT_FILES = -LIBC_CHAPTERS = -include ./Makefile.inc -CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES) -CHAPTERS = $(LIBC_CHAPTERS) diff --git a/newlib/libc/locale/Makefile.in b/newlib/libc/locale/Makefile.in index 708c4d5..44192a9 100644 --- a/newlib/libc/locale/Makefile.in +++ b/newlib/libc/locale/Makefile.in @@ -385,16 +385,11 @@ 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) -LIBC_CHEWOUT_FILES = duplocale.def freelocale.def locale.def \ - newlocale.def uselocale.def -LIBC_CHAPTERS = locale.tex -CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES) -CHAPTERS = $(LIBC_CHAPTERS) all: all-am .SUFFIXES: .SUFFIXES: .def .xml .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../Makefile.shared $(srcdir)/./Makefile.inc $(am__configure_deps) +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../Makefile.shared $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -414,7 +409,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; -$(srcdir)/../../Makefile.shared $(srcdir)/./Makefile.inc $(am__empty): +$(srcdir)/../../Makefile.shared $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -- cgit v1.1