build: add .deps to CLEAN instead of listing in clean target

Seems, uh, cleaner this way.
This commit is contained in:
Jani Nikula 2017-08-29 21:27:09 +03:00 committed by David Bremner
parent ab3ac525a0
commit 8c7d979f5d

View file

@ -201,7 +201,7 @@ quiet ?= $($(word 1, $(1)))
.PHONY : clean .PHONY : clean
clean: clean:
rm -rf $(CLEAN); rm -rf .deps rm -rf $(CLEAN)
.PHONY: distclean .PHONY: distclean
distclean: clean distclean: clean
@ -280,6 +280,7 @@ endif
SRCS := $(SRCS) $(notmuch_client_srcs) SRCS := $(SRCS) $(notmuch_client_srcs)
CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules)
CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp
CLEAN := $(CLEAN) .deps
DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config sh.config DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config sh.config