# [PATCH] Makefile: remove test-chmtime program in target clean.

3 messages from 2007-03-27 to 2007-03-27. Participants: Gerrit Pape, Johannes Sixt.
Thread: https://gitlist.dev/t/7422

## Gerrit Pape, 2007-03-27 09:38

Subject: [PATCH] Makefile: remove test-chmtime program in target clean.
Message-ID: <20070327093843.14074.qmail@7a32cdb4370c3b.315fe32.mid.smarden.org>
URL: https://gitlist.dev/e/20070327093843.14074.qmail%407a32cdb4370c3b.315fe32.mid.smarden.org

```
While running 'make test', the test-chmtime program is created, and should
be cleaned up on 'make clean'.
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 51c1fed..9b988a5 100644
--- a/Makefile
+++ b/Makefile
@@ -963,7 +963,7 @@ dist-doc:
 
 clean:
 	rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \
-		$(LIB_FILE) $(XDIFF_LIB)
+		test-chmtime $(LIB_FILE) $(XDIFF_LIB)
 	rm -f $(ALL_PROGRAMS) $(BUILT_INS) git$X
 	rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
 	rm -rf autom4te.cache
-- 
1.5.1-rc2.GIT

```

## Johannes Sixt, 2007-03-27 09:46

Subject: Re: [PATCH] Makefile: remove test-chmtime program in target clean.
Message-ID: <4608E7FE.86CD5F31@eudaptics.com>
URL: https://gitlist.dev/e/4608E7FE.86CD5F31%40eudaptics.com
In-Reply-To: <20070327093843.14074.qmail@7a32cdb4370c3b.315fe32.mid.smarden.org>

```
Gerrit Pape wrote:
> 
> While running 'make test', the test-chmtime program is created, and should
> be cleaned up on 'make clean'.
>[...]
>  clean:
>         rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \
> -               $(LIB_FILE) $(XDIFF_LIB)
> +               test-chmtime $(LIB_FILE) $(XDIFF_LIB)

test-chmtime$X you mean, right?

-- Hannes

```

## Gerrit Pape, 2007-03-27 10:13

Subject: [PATCH] Makefile: remove test-chmtime program in target clean.
Message-ID: <20070327101342.16737.qmail@50ebf3781ede25.315fe32.mid.smarden.org>
URL: https://gitlist.dev/e/20070327101342.16737.qmail%4050ebf3781ede25.315fe32.mid.smarden.org
In-Reply-To: <20070327093843.14074.qmail@7a32cdb4370c3b.315fe32.mid.smarden.org>

```
While running 'make test', the test-chmtime program is created, and should
be cleaned up on 'make clean'.
---

On Tue, Mar 27, 2007 at 11:46:38AM +0200, Johannes Sixt wrote:
> Gerrit Pape wrote:
> > -               $(LIB_FILE) $(XDIFF_LIB)
> > +               test-chmtime $(LIB_FILE) $(XDIFF_LIB)
>
> test-chmtime$X you mean, right?

Yes, thanks.

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 51c1fed..960f98e 100644
--- a/Makefile
+++ b/Makefile
@@ -963,7 +963,7 @@ dist-doc:
 
 clean:
 	rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \
-		$(LIB_FILE) $(XDIFF_LIB)
+		test-chmtime$X $(LIB_FILE) $(XDIFF_LIB)
 	rm -f $(ALL_PROGRAMS) $(BUILT_INS) git$X
 	rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
 	rm -rf autom4te.cache
-- 
1.5.1-rc2.GIT

```
