summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorOlivier Blin <olivier.blin@softathome.com>2012-12-28 19:58:46 +0100
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-01-14 21:52:43 +1100
commitf699788f314449e6e2bdde1ca9c4376b4cd956bc (patch)
treed0e985fc260a489afb06fabef3fc83ec30079c04 /doc/Makefile.am
parentfb13acc45738a0d30382d96c6a6f09a3298623fb (diff)
downloadflac-f699788f314449e6e2bdde1ca9c4376b4cd956bc.tar.gz
doc: fix out-of-tree build
When building outside of the source tree, the Doxyfile needs to be generated in the build tree and should point to the proper paths for include directories and html footer. The generated api files to install should also be taken from the build tree instead of the source tree. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 70fb4a14..67703e9e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -18,6 +18,7 @@
SUBDIRS = . html
if FLaC__HAS_DOXYGEN
+all-local: Doxyfile
FLAC.tag: Doxyfile
doxygen Doxyfile
rm -rf html/api
@@ -35,7 +36,7 @@ docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
doc_DATA = \
FLAC.tag
-EXTRA_DIST = Doxyfile Makefile.lite doxygen.footer.html doxygen.header.html $(doc_DATA)
+EXTRA_DIST = Doxyfile.in Makefile.lite doxygen.footer.html doxygen.header.html $(doc_DATA)
maintainer-clean-local:
rm -rf FLAC.tag html/api doxytmp