[dm-devel] [PATCH 5/7] multipath-tools Makefile: build before install

mwilck at suse.com mwilck at suse.com
Fri Mar 26 21:29:42 UTC 2021


From: Martin Wilck <mwilck at suse.com>

"make install" in a clean directory fails. Fix it by making "all"
a dependency of "install".

Signed-off-by: Martin Wilck <mwilck at suse.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c5bedcf..7f21db8 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ $(BUILDDIRS:=.uninstall):
 	$(MAKE) -C ${@:.uninstall=} uninstall
 
 clean: $(BUILDDIRS.clean)
-install: $(BUILDDIRS:=.install)
+install: all $(BUILDDIRS:=.install)
 uninstall: $(BUILDDIRS:=.uninstall)
 
 test-progs:	all
-- 
2.30.1





More information about the dm-devel mailing list