summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2007-08-06 13:05:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-11 06:50:00 (GMT)
commitf9286765b2c409e5b88efe8c20a2634d6842bc5f (patch)
tree31e211cc6e030e66a6c9ae3fc928e943c064a74b /Documentation/Makefile
parent55d1932bce99d83fa0d891331fe3f3562d33af2e (diff)
downloadgit-f9286765b2c409e5b88efe8c20a2634d6842bc5f.zip
git-f9286765b2c409e5b88efe8c20a2634d6842bc5f.tar.gz
git-f9286765b2c409e5b88efe8c20a2634d6842bc5f.tar.bz2
Documentation/Makefile: remove cmd-list.made before redirecting to it.
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 76a15ff..fbefe9a 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -119,6 +119,7 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
$(cmds_txt): cmd-list.made
cmd-list.made: cmd-list.perl $(MAN1_TXT)
+ $(RM) $@
perl ./cmd-list.perl
date >$@