mirror of
https://github.com/git/git.git
synced 2024-09-28 06:30:37 +02:00
When generating manpages, delete outdated targets first.
This makes "make doc" work even if you made "sudo make doc" previously by mistake. Apparently an oversight: the other targets did this already. Signed-off-by: David Kastrup <dak@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
c9e6589288
commit
50cff52f1a
@ -120,6 +120,7 @@ clean:
|
|||||||
mv $@+ $@
|
mv $@+ $@
|
||||||
|
|
||||||
%.1 %.5 %.7 : %.xml
|
%.1 %.5 %.7 : %.xml
|
||||||
|
$(RM) $@
|
||||||
xmlto -m callouts.xsl man $<
|
xmlto -m callouts.xsl man $<
|
||||||
|
|
||||||
%.xml : %.txt
|
%.xml : %.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user