Re: [PATCH 4/5 v3] newlib: move man page generation into top-level build

Jon Turney <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 01/02/2022 06:21, Mike Frysinger wrote:
> +%D%/libc.xml.stamp: %D%/libc.in.xml $(LIBC_CHAPTERS) $(LIBC_DOCBOOK_OUT_FILES)
> +	$(AM_V_at)\
> +	for chapter in $(LIBC_CHAPTERS); do \
> +	  $(TEXI2DOCBOOK) < $(srcdir)/$$chapter > %D%/`basename $${chapter%.tex}`.xml || exit 1; \
> +	done
> +	$(AM_V_GEN)xsltproc --xinclude --path $(builddir)/%D% --nonet $(srcdir)/refcontainers.xslt $< > [email protected]
> +	$(AM_V_at)$(SHELL) $(newlib_basedir)/../move-if-change [email protected] $(@:.stamp=)
> +	$(AM_V_at)touch $@
> +%D%/libc.xml: %D%/libc.xml.stamp; @true

This doesn't seem right.

This rule produces a single output with a definite name 'lib.xml', so 
there's no need for a timestamp file?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.