summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTushar Gohad <tushar.gohad@intel.com>2015-12-10 03:47:14 -0700
committerTushar Gohad <tushar.gohad@intel.com>2015-12-10 04:00:29 -0700
commit92bad94311f93f32010c0df01a7ad8da400ec023 (patch)
treed37f3148ef5f31e5c66c36e7dd779db09cd2c793 /Makefile.am
parentdebb72493d0ea54ec068a9400417586ed0d40473 (diff)
downloadliberasurecode-92bad94311f93f32010c0df01a7ad8da400ec023.tar.gz
Include major API version in pkg-config file name
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a3e8f1e..b3676ee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,6 +31,8 @@ thisinclude_HEADERS = \
include/rs_vand/rs_galois.h \
include/rs_vand/liberasurecode_rs_vand.h
+pkgconfig_DATA = erasurecode-$(API_VERSION).pc
+
install-exec-hook:
-(mkdir -p $(DESTDIR)$(includedir) && \
cd $(DESTDIR)$(includedir) && \