Git development
 help / color / mirror / Atom feed
* [PATCH] Documentation/Makefile: remove cmd-list.made before redirecting to it.
@ 2007-08-06 13:05 David Kastrup
  2007-08-07  6:33 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2007-08-06 13:05 UTC (permalink / raw)
  To: git



If cmd-list.made has been created by a previous run as root, output
redirection to it will fail.  So remove it before regeneration.

Signed-off-by: David Kastrup <dak@gnu.org>
---
 Documentation/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 97ee067..120e7c0 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -120,6 +120,7 @@ $(cmds_txt): cmd-list.made
 
 cmd-list.made: cmd-list.perl $(MAN1_TXT)
 	perl ./cmd-list.perl
+	$(RM) $@
 	date >$@
 
 git.7 git.html: git.txt core-intro.txt
-- 
1.5.3.rc4.21.ga63eb

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-07 10:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06 13:05 [PATCH] Documentation/Makefile: remove cmd-list.made before redirecting to it David Kastrup
2007-08-07  6:33 ` Junio C Hamano
2007-08-07 10:29   ` David Kastrup

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox