From 97385c1356dfcb8cb9d3725ae81c81768d9f47a4 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Mon, 26 Sep 2016 11:38:43 -0400 Subject: [PATCH] Makefile: Make sure base.test also create bin directory This commit fixes a regression [1] introduced in 606d0b3 (Makefile: Make sure BIN directory exist when running any test) Reported below the dry-run summary before and after, we can confirm the bin directory is now created when building the `base.test` target. Before: $ make base.test --dry-run docker build -t dockcross/base . docker run --rm dockcross/base > bin/dockcross-base && chmod +x bin/dockcross-base After: $ make base.test --dry-run docker build -t dockcross/base . mkdir -p bin docker run --rm dockcross/base > bin/dockcross-base && chmod +x bin/dockcross-base [1] Error fixed by this commit: Successfully built e6388fe49824 docker run --rm dockcross/base > bin/dockcross-base && chmod +x bin/dockcross-base /bin/sh: 1: cannot create bin/dockcross-base: Directory nonexistent make: *** [base.test] Error 2 make base.test returned exit code 2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc932dd..7f07faf 100644 --- a/Makefile +++ b/Makefile @@ -114,6 +114,6 @@ $(addsuffix .test,$(STANDARD_IMAGES)): $$(basename $$@) test.prerequisites: mkdir -p $(BIN) -$(addsuffix .test,$(IMAGES)): test.prerequisites +$(addsuffix .test,base $(IMAGES)): test.prerequisites .PHONY: base images $(IMAGES) test %.test