unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] makefile: Declare clean target as phony.
@ 2009-11-22 12:55 Jan Janak
  2009-11-23  2:49 ` Carl Worth
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Janak @ 2009-11-22 12:55 UTC (permalink / raw)
  To: notmuch

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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] makefile: Declare clean target as phony.
  2009-11-22 12:55 [PATCH] makefile: Declare clean target as phony Jan Janak
@ 2009-11-23  2:49 ` Carl Worth
  0 siblings, 0 replies; 2+ messages in thread
From: Carl Worth @ 2009-11-23  2:49 UTC (permalink / raw)
  To: Jan Janak, notmuch

On Sun, 22 Nov 2009 13:55:35 +0100, Jan Janak <jan@ryngle.com> wrote:
> 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.

Now *this* patch worked fine for me. Thanks! I've pushed it now.

-Carl

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-23  2:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-22 12:55 [PATCH] makefile: Declare clean target as phony Jan Janak
2009-11-23  2:49 ` Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).