summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2015-02-12 13:58:14 -0500
committerMatt Stancliff <matt@genges.com>2015-02-12 13:58:14 -0500
commit6b122d43f968f2104032379f183cdbfd453e1472 (patch)
treeb9996d686ebe5c2f0f258ccef52f61b056881415 /Makefile
parent9be3a07d8af4fae5ab3efc626bf674d9310571bb (diff)
Fix pkgconf when used with DESTDIR
Closes #302
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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. >> $@