summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2007-08-01 23:48:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-02 02:52:17 (GMT)
commit50cff52f1a896118d5260c752900188e7d231cf6 (patch)
tree3f7fee47b9332133bdf3c4358dbe9691ce4368f2 /Documentation/Makefile
parentc9e6589288b09f4e631c7f12f0f9a77c29851632 (diff)
downloadgit-50cff52f1a896118d5260c752900188e7d231cf6.zip
git-50cff52f1a896118d5260c752900188e7d231cf6.tar.gz
git-50cff52f1a896118d5260c752900188e7d231cf6.tar.bz2
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 3bc5357..443114b 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