diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-06-08 13:30:56 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-08 08:10:10 -0700 |
commit | bd3dd30518085429a397e3e647c1d1950e3a8cbd (patch) | |
tree | a523da0812161bbcd600cfebd7b96e1071df14c6 /Documentation/Makefile | |
parent | bded22f2f6ecaa09bdf14308801d32f04aed4741 (diff) | |
download | subsurface-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/Makefile')
-rw-r--r-- | Documentation/Makefile | 2 |
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) |