summaryrefslogtreecommitdiff
path: root/legacy/eina/doc/Makefile.am
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2011-06-06 20:20:38 +0000
committerRafael Antognolli <antognolli@gmail.com>2011-06-06 20:20:38 +0000
commit198f7ee95826c2f817fc84f18176b91af502833d (patch)
tree4e56d0a4bb65b254b387ca46b100de31f7e8fcfe /legacy/eina/doc/Makefile.am
parentb3b3a6b74dbb0ea3cc4d2bcd17e6769f7657ab7e (diff)
eina: fix doc building when srcdir != builddir.
SVN revision: 60004
Diffstat (limited to 'legacy/eina/doc/Makefile.am')
-rw-r--r--legacy/eina/doc/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/legacy/eina/doc/Makefile.am b/legacy/eina/doc/Makefile.am
index 8bd8de87cf..693082a65b 100644
--- a/legacy/eina/doc/Makefile.am
+++ b/legacy/eina/doc/Makefile.am
@@ -7,18 +7,18 @@ PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
7if EFL_BUILD_DOC 7if EFL_BUILD_DOC
8 8
9doc-clean: 9doc-clean:
10 rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar* 10 rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11 11
12doc: all 12doc: all
13 $(efl_doxygen) 13 $(efl_doxygen)
14 cp img/* html/ 14 cp $(srcdir)/img/* html/
15 rm -rf $(PACKAGE_DOCNAME).tar* 15 rm -rf $(PACKAGE_DOCNAME).tar*
16 mkdir -p $(PACKAGE_DOCNAME)/doc 16 mkdir -p $(PACKAGE_DOCNAME)/doc
17 cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc 17 cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
18 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/ 18 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
19 bzip2 -9 $(PACKAGE_DOCNAME).tar 19 bzip2 -9 $(PACKAGE_DOCNAME).tar
20 rm -rf $(PACKAGE_DOCNAME)/ 20 rm -rf $(PACKAGE_DOCNAME)/
21 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_srcdir) 21 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
22 22
23clean-local: doc-clean 23clean-local: doc-clean
24 24
@@ -29,4 +29,8 @@ doc:
29 29
30endif 30endif
31 31
32EXTRA_DIST = Doxyfile $(wildcard img/*.*) e.css head.html foot.html 32EXTRA_DIST = $(srcdir)/Doxyfile.in \
33 $(wildcard $(srcdir)/img/*.*) \
34 $(srcdir)/e.css \
35 $(srcdir)/head.html \
36 $(srcdir)/foot.html