unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: david@tethera.net
To: notmuch@notmuchmail.org
Cc: David Bremner <bremner@debian.org>
Subject: [PATCH 1/3] build system: remove directories created by tests in "make clean"
Date: Thu,  2 Aug 2012 10:22:35 -0300	[thread overview]
Message-ID: <1343913757-23472-2-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>

These extra directories cause problems for building on Debian twice in
a row.

In order to remove directories, we need to us "rm -rf" instead of "rm
-r". So now we should be extra careful what we add to the variable CLEAN.
---
 Makefile.local      |    2 +-
 test/Makefile.local |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.local b/Makefile.local
index 296995d..6d6896a 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -265,7 +265,7 @@ 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.
diff --git a/test/Makefile.local b/test/Makefile.local
index 4a6a4b1..c7f1435 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -31,4 +31,5 @@ check: test
 SRCS := $(SRCS) $(smtp_dummy_srcs)
 CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \
 	 $(dir)/symbol-test $(dir)/symbol-test.o \
-	 $(dir)/arg-test $(dir)/arg-test.o
+	 $(dir)/arg-test $(dir)/arg-test.o \
+	 $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.*
-- 
1.7.10.4

  reply	other threads:[~2012-08-02 13:22 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       ` david [this message]
2012-08-02 13:22       ` [PATCH 2/3] build system: remove configure output in Make distclean david
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-2-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).