[notmuch] [PATCH] makefile: Declare clean target as phony.
Jan Janak
jan at ryngle.com
Sun Nov 22 04:55:35 PST 2009
This ensures that make clean always proceeds, even if the user
accidentally creates a file named 'clean'. Also, it ignores errors in
rm and other commands.
Signed-off-by: Jan Janak <jan at ryngle.com>
---
Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 3553ff4..2d19a6e 100644
--- a/Makefile
+++ b/Makefile
@@ -75,5 +75,6 @@ DEPS := $(SRCS:%.c=.deps/%.d)
DEPS := $(DEPS:%.cc=.deps/%.d)
-include $(DEPS)
+.PHONY : clean
clean:
rm -f $(CLEAN); rm -rf .deps
--
1.6.3.3
More information about the notmuch
mailing list