doc: remove unnecessary rm instances
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 21 May 2021 22:29:39 +0000 (17:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 May 2021 09:08:22 +0000 (18:08 +0900)
commit471e7b2cf6ab5ef057feed03b35dde9a26357611
tree4bed68eebaa6a4759091d49e25d309fbf26082d4
parent56da21392b10ebe161dbf426f170e74f800178cf
doc: remove unnecessary rm instances

Commits 50cff52f1a (When generating manpages, delete outdated targets
first., 2007-08-02) and f9286765b2 (Documentation/Makefile: remove
cmd-list.made before redirecting to it., 2007-08-06) created these rm
instances for a very rare corner-case: building as root by mistake.

It's odd to have workarounds here, but nowhere else in the Makefile--
which already fails in this stuation, starting from
Documentation/technical/.

We gain nothing but complexity, so let's remove them.

Comments-by: Jeff King <peff@peff.net>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile