diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-07-04 19:09:30 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-07-04 19:13:55 +0300 |
commit | d7e47a557e62ba0f96067e4ca84d1d931be3972f (patch) | |
tree | 4ebdb4014f8443ef7df205f1bd0865c49b114942 /newlib/libc/Makefile.in | |
parent | 0b4cbd2fb82ba588a82c148bd723e46dea05d523 (diff) |
Regenerate newlib Makefiles
Diffstat (limited to 'newlib/libc/Makefile.in')
-rw-r--r-- | newlib/libc/Makefile.in | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/newlib/libc/Makefile.in b/newlib/libc/Makefile.in index cbddc5fdf..509fdb63d 100644 --- a/newlib/libc/Makefile.in +++ b/newlib/libc/Makefile.in @@ -427,6 +427,9 @@ SUBDEFS = \ $(LIBC_EXTRA_DEF) \ misc/stmp-def + +# ditto for stmp-xml files in each subdirectory which builds .xml files +SUBXMLS = $(SUBDEFS:stmp-def=stmp-xml) info_TEXINFOS = libc.texinfo libc_TEXINFOS = sigset.texi extra.texi posix.texi stdio64.texi iconvset.texi \ targetdep.tex $(SUBDEFS) @@ -435,7 +438,8 @@ CLEANFILES = $(CRT0) \ sigset.texi stmp-sigset extra.texi stmp-extra \ stdio64.texi stmp-stdio64 targetdep.tex stmp-targetdep \ tmp-sigset.texi tmp-iconvset.texi tmp-extra.texi \ - tmp-stdio64.texi tmp-posix.texi tmp-targetdep.texi + tmp-stdio64.texi tmp-posix.texi tmp-targetdep.texi \ + *.xml *.3 ACLOCAL_AMFLAGS = -I .. -I ../.. CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host @@ -941,8 +945,6 @@ install-info-am: $(INFO_DEPS) install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ done; \ else : ; fi -install-man: - install-pdf: install-pdf-recursive install-pdf-am: $(PDFS) @@ -1118,6 +1120,23 @@ targetdep.tex: stmp-targetdep ; @true $(SUBDEFS): stmp-targetdep ; @true +docbook-recursive: force + for d in $(SUBDIRS); do \ + if test "$$d" != "."; then \ + (cd $$d && $(MAKE) docbook) || exit 1; \ + fi; \ + done + +$(SUBXMLS): docbook-recursive + +man: $(SUBXMLS) libc.in.xml + xsltproc --xinclude --path ${builddir} --nonet ${srcdir}/../refcontainers.xslt ${srcdir}/libc.in.xml >libc.xml + xmlto --skip-validation man -m ${srcdir}/../man.xsl libc.xml + +install-man: man + mkdir -p $(DESTDIR)$(mandir)/man3 + $(INSTALL_DATA) *.3 $(DESTDIR)$(mandir)/man3 + .PHONY: force force: |