[PATCH libXi 7/7] man: add $(AM_V_GEN) for silent rules where missing

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 15 16:59:05 PDT 2010


On Sun, Aug 15, 2010 at 07:23:54PM -0400, Gaetan Nadon wrote:
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  man/Makefile.am |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/man/Makefile.am b/man/Makefile.am
> index 1311af0..dd419d8 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -163,16 +163,16 @@ SUFFIXES = .man .$(LIB_MAN_SUFFIX)
>  if HAVE_DOCTOOLS
>  SUFFIXES += .txt .xml
>  .txt.xml:
> -	$(ASCIIDOC) -b docbook -d manpage -o $@ $<
> +	$(AM_V_GEN)$(ASCIIDOC) -b docbook -d manpage -o $@ $<
>  .xml.man:
> -	$(XMLTO) man $<
> -	mv -f $(@:.man=.libmansuffix) $@
> +	$(AM_V_GEN)$(XMLTO) man $<
> +	$(AM_V_GEN)mv -f $(@:.man=.libmansuffix) $@
>  
>  # Invoke asciidoc/xmlto main man page generation for shadow pages
>  $(libman_shadows):
>  	@if test ! -f $(@:.man=.libmansuffix); then \
> -	  rm -f $<; \
> -	  $(MAKE) $(AM_MAKEFLAGS) $< || exit 1; \
> +	  $(AM_V_GEN)rm -f $<; \
> +	  $(AM_V_GEN)$(MAKE) $(AM_MAKEFLAGS) $< || exit 1; \
>  	fi
> -	mv -f $(@:.man=.libmansuffix) $@
> +	$(AM_V_GEN)mv -f $(@:.man=.libmansuffix) $@
>  endif
> -- 
> 1.6.0.4

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net> for the series if you
address the minor nitpicks I pointed out. Feel free to push once there
fixed up or just send me a pull request, either way works for me.

Cheers,
  Peter


More information about the xorg-devel mailing list