threads / patch / 5451

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

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

## tl;dr

One message between Sep 1, 2006 and Sep 1, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Sergey Vlasov· Sep 1, 2006, 18:42 UTC · lore

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(-)
Show changes to Documentation/Makefile +1 −1
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

← back to recent threads