summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
index 1ee78c991..1d267983b 100644
--- a/pkgconfig/Makefile.am
+++ b/pkgconfig/Makefile.am
@@ -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