make: add dummy makefile in sharness directory
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Dec 20, 2016 at 20:46 UTC
f77d01a965ad73856b9a4ad0618b0fa0c2d6ef8a
2 files changed
+11
-1
test/sharness/Makefile
new
+7
@@ -0,0 +1,7 @@
1
+SH := $(wildcard *.sh)
2
+
3
+.DEFAULT $(SH): ALWAYS
4
+ $(MAKE) -C ../.. test/sharness/$@
5
+
6
+ALWAYS:
7
+.PHONY: ALWAYS
test/sharness/Rules.mk
+4
-1
@@ -33,7 +33,10 @@ CLEAN += $(wildcard $(d)/test-results/*)
33
$(SHARNESS_$(d)): $(d) ALWAYS
34
@clonedir=$(dir $(@D)) $</lib/install-sharness.sh
35
36
-test_sharness_deps: $(SHARNESS_$(d)) $$(DEPS_$(d)) # use second expansion so coverage can inject dependency
36
+$(d)/deps: $(SHARNESS_$(d)) $$(DEPS_$(d)) # use second expansion so coverage can inject dependency
37
+.PHONY: $(d)/deps
38
+
39
+test_sharness_deps: $(d)/deps
40
.PHONY: test_sharness_deps
41
42
test_sharness_short: $(d)/aggregate