# [PATCH] Documentation: Fix howto/revert-branch-rebase.html generation

1 messages from 2006-09-01 to 2006-09-01. Participants: Sergey Vlasov.
Thread: https://gitlist.dev/t/5451

## Sergey Vlasov, 2006-09-01 18:42

Subject: [PATCH] Documentation: Fix howto/revert-branch-rebase.html generation
Message-ID: <11571361793668-git-send-email-vsu@altlinux.ru>
URL: https://gitlist.dev/e/11571361793668-git-send-email-vsu%40altlinux.ru

```
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>
---
 Documentation/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index ed8b886..c00f5f6 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
-- 
1.4.2.g914b

```
