aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2007-08-02 01:48:44 +0200
committerJunio C Hamano <gitster@pobox.com>2007-08-01 19:52:17 -0700
commit50cff52f1a896118d5260c752900188e7d231cf6 (patch)
tree3f7fee47b9332133bdf3c4358dbe9691ce4368f2 /Documentation/Makefile
parentc9e6589288b09f4e631c7f12f0f9a77c29851632 (diff)
downloadgit-50cff52f1a896118d5260c752900188e7d231cf6.tar.gz
git-50cff52f1a896118d5260c752900188e7d231cf6.tar.xz
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>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 3bc5357ec..443114b04 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -120,6 +120,7 @@ clean:
mv $@+ $@
%.1 %.5 %.7 : %.xml
+ $(RM) $@
xmlto -m callouts.xsl man $<
%.xml : %.txt