threads / patch / 7422

patchMakefile: remove test-chmtime program in target clean.

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

## tl;dr

3 messages between Mar 27, 2007 and Mar 27, 2007. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Gerrit Pape· Mar 27, 2007, 09:38 UTC · lore
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(-)
Show changes to Makefile +1 −1
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· Mar 27, 2007, 09:46 UTC · re: Gerrit Pape · lore

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

Gerrit Pape wrote:
Show 8 quoted lines
> 
> 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· Mar 27, 2007, 10:13 UTC · re: Gerrit Pape · lore

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:
Show 5 quoted lines
> 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(-)
Show changes to Makefile +1 −1
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

← back to recent threads