From 1ca933bf93fbd4494d3833f99b2f29ef6c97bf95 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Fri, 26 Nov 2021 18:09:13 +0100 Subject: [PATCH] install: Do not evaluate .install unless we are installing Since `.install` has directory dependencies on the install directories, this results in attempts to create directories even if you don't install. Signed-off-by: Christophe de Dinechin --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 7fe2eb6..6fcacd9 100644 --- a/rules.mk +++ b/rules.mk @@ -267,7 +267,7 @@ endif .objects: .prebuild .objects: $(MIQ_OBJDIR:%=%.mkdir) .product: $(MIQ_OUTPRODS) -.postbuild: .product .install +.postbuild: .product $(DO_INSTALL:%=.install) .install: $(MIQ_INSTALL) .tests: $(TESTS:%=%.test) .goodbye: .postbuild