From: david@tethera.net
To: notmuch@notmuchmail.org
Cc: David Bremner <bremner@debian.org>
Subject: [PATCH 2/3] build system: remove configure output in Make distclean.
Date: Thu, 2 Aug 2012 10:22:36 -0300 [thread overview]
Message-ID: <1343913757-23472-3-git-send-email-david@tethera.net> (raw)
In-Reply-To: <1343913757-23472-1-git-send-email-david@tethera.net>
From: David Bremner <bremner@debian.org>
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.
---
Makefile.local | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.local b/Makefile.local
index 6d6896a..b3b960c 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)
--
1.7.10.4
next prev parent reply other threads:[~2012-08-02 13:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20120801103707.GA668@jwilk.net>
2012-08-01 15:14 ` Bug#683505: notmuch: FTBFS if built twice in a row: unrepresentable changes to source David Bremner
2012-08-01 15:26 ` Jameson Graef Rollins
2012-08-01 21:37 ` David Bremner
2012-08-02 3:10 ` Jameson Graef Rollins
2012-08-02 10:18 ` Tomi Ollila
2012-08-02 14:33 ` Austin Clements
2012-08-02 21:12 ` Tomi Ollila
2012-08-01 16:33 ` Tomi Ollila
2012-08-02 13:22 ` Cleaning up cleaning david
2012-08-02 13:22 ` [PATCH 1/3] build system: remove directories created by tests in "make clean" david
2012-08-02 13:22 ` david [this message]
2012-08-02 13:22 ` [PATCH 3/3] debian: update changelog for cleaning changes david
2012-08-02 13:47 ` Cleaning up cleaning Tomi Ollila
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343913757-23472-3-git-send-email-david@tethera.net \
--to=david@tethera.net \
--cc=bremner@debian.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).