summaryrefslogtreecommitdiff
path: root/pkgconfig/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig/Makefile.am')
-rw-r--r--pkgconfig/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
index f0bdfd013..8fb252923 100644
--- a/pkgconfig/Makefile.am
+++ b/pkgconfig/Makefile.am
@@ -34,11 +34,15 @@ pcverfiles_uninstalled = \
all-local: $(pcverfiles) $(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_0)cp $< $@
%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
- cp $< $@
+ $(cp_verbose_0)cp $< $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcverfiles)