From f9286765b2c409e5b88efe8c20a2634d6842bc5f Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 6 Aug 2007 15:05:56 +0200 Subject: [PATCH] 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 --- Documentation/Makefile | 1 + 1 file changed, 1 insertion(+) 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 >$@ -- 2.30.2