From 6b122d43f968f2104032379f183cdbfd453e1472 Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Thu, 12 Feb 2015 13:58:14 -0500 Subject: Fix pkgconf when used with DESTDIR Closes #302 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 805c2c5..3c2e75b 100644 --- a/Makefile +++ b/Makefile @@ -151,8 +151,8 @@ $(PKGCONFNAME): hiredis.h @echo "Generating $@ for pkgconfig..." @echo prefix=$(PREFIX) > $@ @echo exec_prefix=$${prefix} >> $@ - @echo libdir=$(INSTALL_LIBRARY_PATH) >> $@ - @echo includedir=$(INSTALL_INCLUDE_PATH) >> $@ + @echo libdir=$(PREFIX)/$(INCLUDE_PATH) >> $@ + @echo includedir=$(PREFIX)/$(LIBRARY_PATH) >> $@ @echo >> $@ @echo Name: hiredis >> $@ @echo Description: Minimalistic C client library for Redis. >> $@ -- cgit v1.2.3