aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2012-08-02 09:30:31 -0300
committerGravatar David Bremner <bremner@debian.org>2012-08-02 21:10:15 -0300
commit719897cdc330a41c22271fded8d911035c275dec (patch)
tree55fc4ebe7033d8a95125951b20e3498ae9913a74 /Makefile.local
parent8a745d310f966194e82f12f6453f05cc877379d6 (diff)
build system: remove configure output in Make distclean.
Create a variable DISTCLEAN which contains a list of things to clean in the distclean target (in addition to running the clean target). The deleted comment seems to be false these days, since we do create files during configuration. Use "rm -rf" here as well in case we want to add directories to DISTCLEAN.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.local b/Makefile.local
index 6d6896a3..b3b960c6 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -267,10 +267,9 @@ quiet ?= $($(shell echo $1 | sed -e s'/ .*//'))
clean:
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\
@@ -339,6 +338,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)