[tracker] Append API version suffix to pkg-config files



commit 7e9c718dca75a82def81c86dfa98ef9cf6e76fac
Author: Jürg Billeter <j bitron ch>
Date:   Tue Mar 24 17:07:44 2009 +0100

    Append API version suffix to pkg-config files
---
 data/Makefile.am |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 3c075cc..8c5ae43 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -15,11 +15,17 @@ autostart_DATA = trackerd.desktop
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = 			\
-	tracker.pc			\
+	tracker-$(TRACKER_API_VERSION).pc	\
 	tracker-module-1.0.pc
 
+tracker-$(TRACKER_API_VERSION).pc: tracker.pc
+	cp $< $@
+
 if HAVE_LIBTRACKERGTK
-pkgconfig_DATA += libtracker-gtk.pc
+pkgconfig_DATA += libtracker-gtk-$(TRACKER_API_VERSION).pc
+
+libtracker-gtk-$(TRACKER_API_VERSION).pc: libtracker-gtk.pc
+	cp $< $@
 endif
 
 CLEANFILES = $(autostart_DATA) $(autostart_in_files)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]