X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pkgconfig%2FMakefile.am;h=2d7917b612e9b8b8aa3d835b516a2dbbd0f1ac6f;hb=8a2ce42043017b518dfead851afcc4e99923e607;hp=0b183655bf290374a21992fbd26dc26cfa4cf78d;hpb=12b60c256b95944184a7b2415e7e63976f648ec8;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 0b18365..2d7917b 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -1,25 +1,31 @@ ### all of the standard pc files we need to generate pcverfiles = \ - gstreamer-plugins-good-@GST_MAJORMINOR@.pc + gstreamer-plugins-good-@GST_API_VERSION@.pc pcverfiles_uninstalled = \ - gstreamer-plugins-good-@GST_MAJORMINOR@-uninstalled.pc + gstreamer-plugins-good-@GST_API_VERSION@-uninstalled.pc ### 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 $< $@ -%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc - cp $< $@ +%-@GST_API_VERSION@.pc: %.pc + $(cp_verbose)cp $< $@ +%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc + $(cp_verbose)cp $< $@ # do not install for now # pkgconfigdir = $(libdir)/pkgconfig # pkgconfig_DATA = $(pcverfiles) CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) +# pcinfiles = \ +# gstreamer-plugins-good.pc.in gstreamer-plugins-good-uninstalled.pc.in pcinfiles = \ - gstreamer-plugins-good.pc.in gstreamer-plugins-good-uninstalled.pc.in + gstreamer-plugins-good-uninstalled.pc.in DISTCLEANFILES = $(pcinfiles:.in=) EXTRA_DIST = $(pcinfiles)