summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-06-08 13:30:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-08 08:10:10 -0700
commitbd3dd30518085429a397e3e647c1d1950e3a8cbd (patch)
treea523da0812161bbcd600cfebd7b96e1071df14c6 /Documentation
parentbded22f2f6ecaa09bdf14308801d32f04aed4741 (diff)
downloadsubsurface-bd3dd30518085429a397e3e647c1d1950e3a8cbd.tar.gz
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 <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
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)