summaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2010-08-21 08:21:22 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-22 06:53:16 +0200
commitf2aff316d3bf99d84e19827099036a933f48aa61 (patch)
tree844953eafbc9a02ce18e2b44ec81646d6f40f252 /Documentation/Makefile
parentDocumentation: set a !DOCTYPE for user manual (diff)
downloadgit-f2aff316d3bf99d84e19827099036a933f48aa61.tar.xz
git-f2aff316d3bf99d84e19827099036a933f48aa61.zip
docs: fix Makefile dependency for user manual
We use our custom xsl file to build the user manual, so make sure we depend on it. We don't use it anywhere else, so we can stick it straight in the rule. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index a4c4063e50..e117bc4315 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -279,7 +279,7 @@ $(patsubst %,%.html,$(API_DOCS) technical/api-index): %.html : %.txt
XSLT = docbook.xsl
XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css
-user-manual.html: user-manual.xml
+user-manual.html: user-manual.xml $(XSLT)
$(QUIET_XSLTPROC)$(RM) $@+ $@ && \
xsltproc $(XSLTOPTS) -o $@+ $(XSLT) $< && \
mv $@+ $@