build: Make some more rules silent if requested
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 26 Feb 2010 15:35:17 +0000 (16:35 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 9 Mar 2010 21:03:18 +0000 (21:03 +0000)
pkgconfig/Makefile.am

index 1ee78c9..1d26798 100644 (file)
@@ -7,11 +7,15 @@ pcverfiles_uninstalled = \
 ### all-local: $(pcverfiles) $(pcverfiles_uninstalled)
 all-local: $(pcverfiles_uninstalled)
 
+cp_verbose = $(cp_verbose_$(V))
+cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
+cp_verbose_0 = @echo "  CP     $@";
+
 ### how to generate versioned .pc files from .pc files in this dir
 %-@GST_MAJORMINOR@.pc: %.pc
-       cp $< $@
+       $(cp_verbose)cp $< $@
 %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
-       cp $< $@
+       $(cp_verbose)cp $< $@
 
 # do not install for now
 # pkgconfigdir = $(libdir)/pkgconfig