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>
David Kastrup committed
Aug 6, 2007 at 15:05 UTC
f9286765b2c409e5b88efe8c20a2634d6842bc5f
1 file changed
+1
Documentation/Makefile
+1
@@ -119,6 +119,7 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
119
$(cmds_txt): cmd-list.made
120
121
cmd-list.made: cmd-list.perl $(MAN1_TXT)
122
+ $(RM) $@
123
perl ./cmd-list.perl
124
date >$@
125