diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-22 06:50:42 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-05 08:17:54 +0300 |
commit | 6026ef29d8c847716a745bb6e11aa1d2c36a2b64 (patch) | |
tree | 40480f5dca7020ed9a6aaa762e4faede55b1cf8d /newlib/libc/time | |
parent | fc2b4ffee0ec7697a02ae7185f1acb7927f2f115 (diff) |
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.
Diffstat (limited to 'newlib/libc/time')
-rw-r--r-- | newlib/libc/time/Makefile.am | 6 | ||||
-rw-r--r-- | newlib/libc/time/Makefile.in | 14 |
2 files changed, 4 insertions, 16 deletions
diff --git a/newlib/libc/time/Makefile.am b/newlib/libc/time/Makefile.am index e9dcee44c..a2a807917 100644 --- a/newlib/libc/time/Makefile.am +++ b/newlib/libc/time/Makefile.am @@ -42,10 +42,4 @@ endif # USE_LIBTOOL # This rule is needed so that wcsftime.o is rebuilt when strftime.c changes. include $(srcdir)/../../Makefile.shared -LIBC_CHEWOUT_FILES = -LIBC_CHAPTERS = -include ./Makefile.inc -CHEWOUT_FILES = $(LIBC_CHEWOUT_FILES) -CHAPTERS = $(LIBC_CHAPTERS) - $(lpfx)wcsftime.$(oext): strftime.c diff --git a/newlib/libc/time/Makefile.in b/newlib/libc/time/Makefile.in index ac787d98f..ca66ef67d 100644 --- a/newlib/libc/time/Makefile.in +++ b/newlib/libc/time/Makefile.in @@ -393,19 +393,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) - -# This rule is needed so that wcsftime.o is rebuilt when strftime.c changes. -LIBC_CHEWOUT_FILES = asctime.def clock.def ctime.def difftime.def \ - gmtime.def lcltime.def mktime.def strftime.def time.def \ - tzlock.def tzset.def wcsftime.def -LIBC_CHAPTERS = time.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*) \ @@ -425,7 +417,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 @@ -813,6 +805,8 @@ docbook: $(DOCBOOK_OUT_FILES) ${top_srcdir}/../doc/chapter-texi2docbook.py <$(srcdir)/$${chapter%.xml}.tex >../$$chapter ; \ done +# This rule is needed so that wcsftime.o is rebuilt when strftime.c changes. + $(lpfx)wcsftime.$(oext): strftime.c # Tell versions [3.59,3.63) of GNU make to not export all variables. |