eeze: fix doc build when srcdir != builddir.
authorRafael Antognolli <antognolli@gmail.com>
Mon, 13 Jun 2011 18:28:39 +0000 (18:28 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Mon, 13 Jun 2011 18:28:39 +0000 (18:28 +0000)
SVN revision: 60292

legacy/eeze/configure.ac
legacy/eeze/doc/Doxyfile.in [moved from legacy/eeze/doc/Doxyfile with 95% similarity]
legacy/eeze/doc/Makefile.am

index b35482a..2433fe6 100644 (file)
@@ -169,6 +169,7 @@ AC_OUTPUT([
 Makefile
 doc/eeze.dox
 doc/Makefile
+doc/Doxyfile
 src/Makefile
 src/lib/Makefile
 src/bin/Makefile
similarity index 95%
rename from legacy/eeze/doc/Doxyfile
rename to legacy/eeze/doc/Doxyfile.in
index 8aa5782..2fbbb35 100644 (file)
@@ -64,10 +64,10 @@ HIDE_UNDOC_MEMBERS     = YES
 HIDE_UNDOC_RELATIONS   = YES
 HTML_ALIGN_MEMBERS     = YES
 HTML_FILE_EXTENSION    = .html
-HTML_FOOTER            = foot.html
-HTML_HEADER            = head.html
+HTML_FOOTER            = @srcdir@/foot.html
+HTML_HEADER            = @srcdir@/head.html
 HTML_OUTPUT            = html
-HTML_STYLESHEET        = e.css
+HTML_STYLESHEET        = @srcdir@/e.css
 IGNORE_PREFIX          = 
 IMAGE_PATH             = img
 INCLUDED_BY_GRAPH      = NO
@@ -78,7 +78,7 @@ INHERIT_DOCS           = YES
 INLINE_INFO            = YES
 INLINE_INHERITED_MEMB  = NO
 INLINE_SOURCES         = NO
-INPUT                  = eeze.dox ../src/lib
+INPUT                  = @srcdir@/eeze.dox @top_srcdir@/src/lib
 INPUT_FILTER           = 
 INTERNAL_DOCS          = NO
 JAVADOC_AUTOBRIEF      = YES
index 5827e7a..922b87b 100644 (file)
@@ -7,18 +7,18 @@ PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
 if EFL_BUILD_DOC
 
 doc-clean:
-       rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar*
+       rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
 
 doc: all doc-clean
        $(efl_doxygen)
-       cp img/* html/
+       cp $(srcdir)/img/* html/
        rm -rf $(PACKAGE_DOCNAME).tar*
        mkdir -p $(PACKAGE_DOCNAME)/doc
        cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
        tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
        bzip2 -9 $(PACKAGE_DOCNAME).tar
        rm -rf $(PACKAGE_DOCNAME)/
-       mv $(PACKAGE_DOCNAME).tar.bz2 $(top_srcdir)
+       mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
 
 clean-local: doc-clean
 
@@ -29,4 +29,4 @@ doc:
 
 endif
 
-EXTRA_DIST = Doxyfile $(wildcard img/*.*) e.css head.html foot.html eeze.dox.in
+EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html eeze.dox.in