[PATCH 3/3] build: add .deps to CLEAN instead of listing in clean target

Subject: [PATCH 3/3] build: add .deps to CLEAN instead of listing in clean target

Date: Tue, 29 Aug 2017 21:27:09 +0300

To: notmuch@notmuchmail.org

Cc:

From: Jani Nikula


Seems, uh, cleaner this way.
---
 Makefile.local | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.local b/Makefile.local
index 2eb55e6ce1cd..9e2111f5cc0d 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -201,7 +201,7 @@ quiet ?= $($(word 1, $(1)))
 
 .PHONY : clean
 clean:
-	rm -rf $(CLEAN); rm -rf .deps
+	rm -rf $(CLEAN)
 
 .PHONY: distclean
 distclean: clean
@@ -280,6 +280,7 @@ endif
 SRCS  := $(SRCS) $(notmuch_client_srcs)
 CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules)
 CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp
+CLEAN := $(CLEAN) .deps
 
 DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config sh.config
 
-- 
2.11.0

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: