build: add .deps to CLEAN instead of listing in clean target
authorJani Nikula <jani@nikula.org>
Tue, 29 Aug 2017 18:27:09 +0000 (21:27 +0300)
committerDavid Bremner <david@tethera.net>
Wed, 30 Aug 2017 01:05:37 +0000 (22:05 -0300)
Seems, uh, cleaner this way.

Makefile.local

index 2eb55e6ce1cdd3ead68b8b0db8d90b7d4873f5a0..9e2111f5cc0dfd0961e14a3a3c24dcae9ec3b584 100644 (file)
@@ -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