summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Watson <david@neonquill.com>2015-03-28 12:17:11 -0400
committerDavid Watson <david@neonquill.com>2015-03-28 12:17:11 -0400
commitdc13bc8627c374a4381819a8f02802e39b081f31 (patch)
tree281a48cd2705e8bfc63d120fda3572f9f978fd59 /Makefile
parent421e0f33f45a1a175149b270032c75f533cea0e3 (diff)
Add PKGCONFNAME to install dependencies.
Attempting to use the install target before the make target works fine, except for the missing pkgconfig file. Adding that file to the dependencies for the install target to make sure it gets created first.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 41ca53e..beb7e2b 100644
--- a/Makefile
+++ b/Makefile
@@ -160,7 +160,7 @@ $(PKGCONFNAME): hiredis.h
@echo Libs: -L\$${libdir} -lhiredis >> $@
@echo Cflags: -I\$${includedir} -D_FILE_OFFSET_BITS=64 >> $@
-install: $(DYLIBNAME) $(STLIBNAME)
+install: $(DYLIBNAME) $(STLIBNAME) $(PKGCONFNAME)
mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH)
$(INSTALL) hiredis.h async.h read.h sds.h adapters $(INSTALL_INCLUDE_PATH)
$(INSTALL) $(DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME)