Out-of-tree build fails #1166

Open
mathkn opened this Issue Nov 17, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@mathkn
Contributor

mathkn commented Nov 17, 2014

Building cherokee out-of-tree using an absolute path to autogen.sh fails in the doc directory.
How to reproduce:

~/build-dir$ /path/to/cherokee/autogen.sh
~/build-dir$ cd doc && make

This patch fixes the issue:

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7e97bb8..0a43b21 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,7 +3,7 @@ ASCIIDOC=$(PYTHON) $(top_srcdir)/doc/build/asciidoc.py --conf-file=$(top_srcdir)
 SUFFIXES = .txt .html

 .txt.html:
-       $(ASCIIDOC) -o $@ $(top_srcdir)/doc/$<
+       $(ASCIIDOC) -o $@ $<

 doc_DATA = \
 index.html \

@Borkason Borkason added the t:bug label Nov 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment