makefile: fix target in sharness tests
Juan Batiz-Benet committed
Jan 10, 2015 at 01:06 UTC
05a0a944ceb9e0c5d8697febcdc145ebfa899e56
1 file changed
+2
-1
test/sharness/Makefile
+2
-1
@@ -9,6 +9,7 @@
9
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
10
BINS = bin/random bin/ipfs
11
SHARNESS = lib/sharness/sharness.sh
12
+IPFS_ROOT = ../..
13
14
all: clean deps $(T) aggregate
15
@@ -30,7 +31,7 @@ $(SHARNESS):
31
@echo "*** installing $@ ***"
32
lib/install-sharness.sh
33
33
-bin/%:
34
+bin/%: $(IPFS_ROOT)/**/*.go
35
@echo "*** installing $@ ***"
36
cd .. && make $@
37