From dc13bc8627c374a4381819a8f02802e39b081f31 Mon Sep 17 00:00:00 2001 From: David Watson Date: Sat, 28 Mar 2015 12:17:11 -0400 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3