From: Martin Wilck <mwilck@xxxxxxxx> Rather than enforcing a "make all; make install" in the top directory, make sure that the $DIR.install correctly depends on $DIR for all subdirs. This speeds up compilation without breaking dependencies. Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 74ab648..6ebd030 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ libmultipath/checkers.install \ $(BUILDDIRS.clean): $(MAKE) -C ${@:.clean=} clean -$(BUILDDIRS:=.install): $(BUILDDIRS) +%.install: % $(MAKE) -C ${@:.install=} install $(BUILDDIRS:=.uninstall): -- 2.37.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel