mirror of
https://github.com/git/git
synced 2024-09-17 23:41:33 +00:00
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>
This commit is contained in:
parent
55d1932bce
commit
f9286765b2
|
@ -119,6 +119,7 @@ cmds_txt = cmds-ancillaryinterrogators.txt \
|
||||||
$(cmds_txt): cmd-list.made
|
$(cmds_txt): cmd-list.made
|
||||||
|
|
||||||
cmd-list.made: cmd-list.perl $(MAN1_TXT)
|
cmd-list.made: cmd-list.perl $(MAN1_TXT)
|
||||||
|
$(RM) $@
|
||||||
perl ./cmd-list.perl
|
perl ./cmd-list.perl
|
||||||
date >$@
|
date >$@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue