X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=de984ab0e58c0763a67dfcbcb6fadb09ca3872de;hp=296995d364a4d0979cceb24752247b6b4f1e30d3;hb=c62126238b2ce6194b3c6511553951497aedf295;hpb=36522fca1cac6ca23c2c4c0280e3e20e96f7bfbb diff --git a/Makefile.local b/Makefile.local index 296995d3..de984ab0 100644 --- a/Makefile.local +++ b/Makefile.local @@ -265,12 +265,11 @@ quiet ?= $($(shell echo $1 | sed -e s'/ .*//')) .PHONY : clean clean: - rm -f $(CLEAN); rm -rf .deps + rm -rf $(CLEAN); rm -rf .deps -# We don't (yet) have any distributed files not in the upstream repository. -# So distclean is currently identical to clean. .PHONY: distclean distclean: clean + rm -rf $(DISTCLEAN) notmuch_client_srcs = \ command-line-arguments.c\ @@ -295,7 +294,6 @@ notmuch_client_srcs = \ query-string.c \ mime-node.c \ crypto.c \ - json.c notmuch_client_modules = $(notmuch_client_srcs:.c=.o) @@ -339,6 +337,8 @@ install-desktop: SRCS := $(SRCS) $(notmuch_client_srcs) CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) notmuch.elc +DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config + DEPS := $(SRCS:%.c=.deps/%.d) DEPS := $(DEPS:%.cc=.deps/%.d) -include $(DEPS)