eeze: fix doc build when srcdir != builddir.

SVN revision: 60292
This commit is contained in:
Rafael Antognolli 2011-06-13 18:28:39 +00:00
parent 568175ab49
commit a112e3a622
3 changed files with 9 additions and 8 deletions

View File

@ -169,6 +169,7 @@ AC_OUTPUT([
Makefile
doc/eeze.dox
doc/Makefile
doc/Doxyfile
src/Makefile
src/lib/Makefile
src/bin/Makefile

View 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

View 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