From: Sergey Vlasov <vsu@altlinux.ru>
Date: Fri, 1 Sep 2006 18:42:59 +0000 (+0400)
Subject: Documentation: Fix howto/revert-branch-rebase.html generation
X-Git-Tag: v1.4.3-rc1~145^2~3
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=501524e938aee0b9691fe7fb1abf5eb17a23132f;p=git

Documentation: Fix howto/revert-branch-rebase.html generation

The rule for howto/*.html used "$?", which expands to the list of all
newer prerequisites, including asciidoc.conf added by another rule.
"$<" should be used instead.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
---

diff --git a/Documentation/Makefile b/Documentation/Makefile
index ed8b886802..c00f5f62b7 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -107,7 +107,7 @@ WEBDOC_DEST = /pub/software/scm/git/docs
 
 $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
 	rm -f $@+ $@
-	sed -e '1,/^$$/d' $? | asciidoc -b xhtml11 - >$@+
+	sed -e '1,/^$$/d' $< | asciidoc -b xhtml11 - >$@+
 	mv $@+ $@
 
 install-webdoc : html