embryo: fix doc build when srcdir != builddir.
authorRafael Antognolli <antognolli@gmail.com>
Mon, 13 Jun 2011 17:42:55 +0000 (17:42 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Mon, 13 Jun 2011 17:42:55 +0000 (17:42 +0000)
SVN revision: 60287

legacy/embryo/configure.ac
legacy/embryo/doc/Makefile.am

index 7d038e6..6e08c63 100644 (file)
@@ -180,6 +180,7 @@ AC_SUBST(embryoincludedir)
 AC_OUTPUT([
 Makefile
 doc/Makefile
+doc/Doxyfile
 doc/embryo.dox
 embryo.pc
 include/Makefile
index a70b4bd..91c79f3 100644 (file)
@@ -8,18 +8,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