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 <gla...@acc.umu.se>
---
 Documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 5ef7c38..10e11da 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)
-- 
1.9.1

_______________________________________________
subsurface mailing list
subsurface@hohndel.org
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to