Skip to contentSkip to conversation

multipath-tools: delete multipathd/multipathc.d file when "make clean"

PATCH In review Xose Vazquez Perez 3 participants 3 messages Mar 15, 2023 – Mar 20, 2023 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: delete multipathd/multipathc.d file when "make clean"

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
---
 multipathd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/Makefile +1 -1
index 9d531329..ba879102 100644
@@ -79,7 +79,7 @@ uninstall:
 	$(Q)$(RM) $(DESTDIR)$(unitdir)/$(EXEC).socket
 
 clean: dep_clean
-	$(Q)$(RM) core *.o $(EXEC) $(CLI)
+	$(Q)$(RM) core *.o $(EXEC) $(CLI) multipathc.d
 
 include $(wildcard $(OBJS:.o=.d))
 
Signature · 6 lines
2.40.0

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
#1 lore raw
Quoted 5 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

Shouldn't this also go in the include line?

-Ben

Quoted 19 lines
---
 multipathd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/Makefile +1 -1
index 9d531329..ba879102 100644
@@ -79,7 +79,7 @@ uninstall:
 	$(Q)$(RM) $(DESTDIR)$(unitdir)/$(EXEC).socket
 
 clean: dep_clean
-	$(Q)$(RM) core *.o $(EXEC) $(CLI)
+	$(Q)$(RM) core *.o $(EXEC) $(CLI) multipathc.d
 
 include $(wildcard $(OBJS:.o=.d))
 
Signature · 1 line
2.40.0

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel

#2 lore raw
Quoted 8 lines · Benjamin Marzinski
Quoted 5 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>

Shouldn't this also go in the include line?

Right. And the dep_clean target needs to be fixed. We seem to have more issues like this. I will post a patch.

Martin

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel