From: David Kastrup Date: Mon, 6 Aug 2007 13:05:56 +0000 (+0200) Subject: Documentation/Makefile: remove cmd-list.made before redirecting to it. X-Git-Tag: v1.5.3-rc5~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f9286765b2c409e5b88efe8c20a2634d6842bc5f;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/Makefile b/Documentation/Makefile index 76a15ff52..fbefe9a45 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 >$@