Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 69BAB431FBC for ; Sun, 22 Nov 2009 04:55:47 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2GIqBTDIx+qt for ; Sun, 22 Nov 2009 04:55:46 -0800 (PST) Received: from mail-fx0-f214.google.com (mail-fx0-f214.google.com [209.85.220.214]) by olra.theworths.org (Postfix) with ESMTP id A439A431FAE for ; Sun, 22 Nov 2009 04:55:46 -0800 (PST) Received: by fxm6 with SMTP id 6so5040530fxm.0 for ; Sun, 22 Nov 2009 04:55:45 -0800 (PST) Received: by 10.102.245.35 with SMTP id s35mr1633080muh.124.1258894544680; Sun, 22 Nov 2009 04:55:44 -0800 (PST) Received: from x61s.janakj (r2c34.net.upc.cz [62.245.66.34]) by mx.google.com with ESMTPS id i7sm12756869mue.46.2009.11.22.04.55.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Nov 2009 04:55:44 -0800 (PST) Received: by x61s.janakj (Postfix, from userid 1000) id 1B43E440651; Sun, 22 Nov 2009 13:55:35 +0100 (CET) From: Jan Janak To: notmuch@notmuchmail.org Date: Sun, 22 Nov 2009 13:55:35 +0100 Message-Id: <1258894535-30056-1-git-send-email-jan@ryngle.com> X-Mailer: git-send-email 1.6.3.3 Subject: [notmuch] [PATCH] makefile: Declare clean target as phony. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2009 12:55:47 -0000 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 --- 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