summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorLibravatar David Kastrup <dak@gnu.org>2007-08-02 01:48:44 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-08-01 19:52:17 -0700
commit50cff52f1a896118d5260c752900188e7d231cf6 (patch)
tree3f7fee47b9332133bdf3c4358dbe9691ce4368f2 /Documentation/Makefile
parentrebase -i: fix for optional [branch] parameter (diff)
downloadtgif-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 3bc5357ec9..443114b046 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