summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2009-10-08 11:47:02 +0100
committerRoss Burton <ross@linux.intel.com>2009-10-08 11:47:02 +0100
commit41dc36a9afdccc436ee6638af20bb6911adc13ba (patch)
tree76cd702760823725d7c0d7c4284074de9b8e53b7
parent26b0691668fbfdb58b75aa5b0a632ef35e85799b (diff)
downloadlibrest-41dc36a9afdccc436ee6638af20bb6911adc13ba.tar.gz
Install a versioned pkg-config file
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 155ef2c..60164cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,9 @@
SUBDIRS = rest examples docs tests
-pkgconfig_DATA = rest.pc
+%-$(API_VERSION).pc: %.pc
+ cp $< $@
+
pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = rest-$(API_VERSION).pc
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc