summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--Makefile6
2 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 591cebd..6db9930 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ env:
- TARGET="32bit" PRE="valgrind --track-origins=yes --leak-check=full"
install:
+ - sudo apt-get update -qq
- sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y
script: make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE"
diff --git a/Makefile b/Makefile
index 2fbfe1b..41ca53e 100644
--- a/Makefile
+++ b/Makefile
@@ -150,9 +150,9 @@ INSTALL?= cp -a
$(PKGCONFNAME): hiredis.h
@echo "Generating $@ for pkgconfig..."
@echo prefix=$(PREFIX) > $@
- @echo exec_prefix=$${prefix} >> $@
- @echo libdir=$(PREFIX)/$(INCLUDE_PATH) >> $@
- @echo includedir=$(PREFIX)/$(LIBRARY_PATH) >> $@
+ @echo exec_prefix=\$${prefix} >> $@
+ @echo libdir=$(PREFIX)/$(LIBRARY_PATH) >> $@
+ @echo includedir=$(PREFIX)/$(INCLUDE_PATH) >> $@
@echo >> $@
@echo Name: hiredis >> $@
@echo Description: Minimalistic C client library for Redis. >> $@