From bd3dd30518085429a397e3e647c1d1950e3a8cbd Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sun, 8 Jun 2014 13:30:56 +0200 Subject: [PATCH] Fix out of tree building without asciidoc We tried to copy the .html.git file from the out of tree build dir, not from the source dir. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- Documentation/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index 5ef7c384e..10e11da27 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -32,7 +32,7 @@ $(OUT)%.pdf: %.txt $(OUT)%.html: %.txt @echo "if asciidoc isn't found the html file included in the sources is copied" $(ASCIIDOC) -a toc -a toclevels=3 -a themedir=$(PWD) -a theme=$(THEME) -a stylesdir=$(PWD) \ - -o $@ $< || cp $@.git $@ + -o $@ $< || cp $(<:%.txt=%.html.git) $@ # Alternatively:: $(OUT)$(DOCNAME).xhtml: $(DOCSOURCE)