@matheusbsbs / matheus-bagliano / commits / 50cff52f1a
Fork 0

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>

David Kastrup committed Aug 2, 2007 at 01:48 UTC 50cff52f1a896118d5260c752900188e7d231cf6
1 file changed +1
Documentation/Makefile
+1
@@ -120,6 +120,7 @@ clean:
120 mv $@+ $@
121
122 %.1 %.5 %.7 : %.xml
123 + $(RM) $@
124 xmlto -m callouts.xsl man $<
125
126 %.xml : %.txt