Permalink
Browse files

doc: fix building with parallel build trees (#76)

  • Loading branch information...
1 parent 3b56e07 commit 06e414ebd986ed4293103593b0e0c6e95c73a262 @nphilipp nphilipp committed with achadwick Nov 10, 2016
Showing with 5 additions and 1 deletion.
  1. +5 −1 doc/Makefile.am
View
@@ -7,9 +7,13 @@ if ENABLE_DOCS
doxygen/index.xml: Doxyfile
mkdir -p doxygen && cd doxygen && \
- $(DOXYGEN) ../Doxyfile
+ $(DOXYGEN) $(abs_srcdir)/Doxyfile
build/index.html: doxygen/index.xml
+ @if test "$(abs_srcdir)" != "$(abs_builddir)"; then \
+ rm -rf source; \
+ cp -r $(srcdir)/source source; \
+ fi
$(SPHINX_BUILD) source/ build/
all: build/index.html

0 comments on commit 06e414e

Please sign in to comment.