summaryrefslogtreecommitdiff
path: root/legacy/emotion
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2011-06-29 20:13:37 +0000
committerRafael Antognolli <antognolli@gmail.com>2011-06-29 20:13:37 +0000
commitd93a2cb4462a61f345be13021c79275c932c327d (patch)
tree35f6c98a40059a86a54747886bcaa88bd8d6e7f4 /legacy/emotion
parent234b2000684ed87bb4d08b222d8f6a73b3618d17 (diff)
emotion/doc - doc build now uses the build system, instead gendoc.
SVN revision: 60839
Diffstat (limited to 'legacy/emotion')
-rw-r--r--legacy/emotion/Makefile.am17
-rw-r--r--legacy/emotion/configure.ac5
-rw-r--r--legacy/emotion/doc/Doxyfile.in (renamed from legacy/emotion/Doxyfile)18
-rw-r--r--legacy/emotion/doc/Makefile.am32
-rw-r--r--legacy/emotion/doc/emotion.dox.in24
-rw-r--r--legacy/emotion/emotion.c.in22
-rwxr-xr-xlegacy/emotion/gendoc16
7 files changed, 84 insertions, 50 deletions
diff --git a/legacy/emotion/Makefile.am b/legacy/emotion/Makefile.am
index d85549a102..ed6f942a0b 100644
--- a/legacy/emotion/Makefile.am
+++ b/legacy/emotion/Makefile.am
@@ -2,19 +2,28 @@
2 2
3ACLOCAL_AMFLAGS = -I m4 3ACLOCAL_AMFLAGS = -I m4
4 4
5SUBDIRS = src data 5SUBDIRS = src data doc
6 6
7MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess emotion.spec \ 7MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess emotion.spec \
8 config.h.in config.sub configure install-sh \ 8 config.h.in config.sub configure install-sh \
9 ltconfig ltmain.sh missing mkinstalldirs \ 9 ltconfig ltmain.sh missing mkinstalldirs \
10 stamp-h.in emotion_docs.tar emotion_docs.tar.gz \ 10 stamp-h.in emotion_docs.tar \
11 emotion.c acconfig.h depcomp 11 emotion.c acconfig.h depcomp \
12 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2
12 13
13bin_SCRIPTS = 14bin_SCRIPTS =
14 15
15EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN \ 16EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN \
16 emotion.spec emotion.spec.in emotion.c.in gendoc Doxyfile \ 17 emotion.spec emotion.spec.in emotion.c.in Doxyfile \
17 emotion.pc.in 18 emotion.pc.in
18 19
19pkgconfigdir = $(libdir)/pkgconfig 20pkgconfigdir = $(libdir)/pkgconfig
20pkgconfig_DATA = emotion.pc 21pkgconfig_DATA = emotion.pc
22
23.PHONY: doc
24
25# Documentation
26
27doc:
28 @echo "entering doc/"
29 make -C doc doc
diff --git a/legacy/emotion/configure.ac b/legacy/emotion/configure.ac
index bfddc57efe..889019e74b 100644
--- a/legacy/emotion/configure.ac
+++ b/legacy/emotion/configure.ac
@@ -242,6 +242,9 @@ src/modules/xine/Makefile
242src/modules/gstreamer/Makefile 242src/modules/gstreamer/Makefile
243src/edje_external/Makefile 243src/edje_external/Makefile
244src/bin/Makefile 244src/bin/Makefile
245doc/Makefile
246doc/Doxyfile
247doc/emotion.dox
245data/Makefile 248data/Makefile
246]) 249])
247 250
@@ -271,6 +274,8 @@ echo
271echo " Xattr................: ${have_xattr}" 274echo " Xattr................: ${have_xattr}"
272echo " Eio..................: ${have_eio}" 275echo " Eio..................: ${have_eio}"
273echo 276echo
277echo "Documentation..........: ${build_doc}"
278echo
274echo "Compilation............: make (or gmake)" 279echo "Compilation............: make (or gmake)"
275echo " CPPFLAGS.............: $CPPFLAGS" 280echo " CPPFLAGS.............: $CPPFLAGS"
276echo " CFLAGS...............: $CFLAGS" 281echo " CFLAGS...............: $CFLAGS"
diff --git a/legacy/emotion/Doxyfile b/legacy/emotion/doc/Doxyfile.in
index 04a4ec3000..853fce1390 100644
--- a/legacy/emotion/Doxyfile
+++ b/legacy/emotion/doc/Doxyfile.in
@@ -1,15 +1,17 @@
1PROJECT_NAME = Emotion 1PROJECT_NAME = Emotion
2PROJECT_NUMBER = 2PROJECT_NUMBER = @PACKAGE_VERSION@
3OUTPUT_DIRECTORY = doc 3OUTPUT_DIRECTORY = .
4INPUT = emotion.c 4INPUT = emotion.dox \
5IMAGE_PATH = doc/img 5 @top_srcdir@/src/lib \
6 @srcdir@/examples.dox
7IMAGE_PATH = img
6OUTPUT_LANGUAGE = English 8OUTPUT_LANGUAGE = English
7GENERATE_HTML = YES 9GENERATE_HTML = YES
8HTML_OUTPUT = html 10HTML_OUTPUT = html
9HTML_FILE_EXTENSION = .html 11HTML_FILE_EXTENSION = .html
10HTML_HEADER = doc/head.html 12HTML_HEADER = @srcdir@/head.html
11HTML_FOOTER = doc/foot.html 13HTML_FOOTER = @srcdir@/foot.html
12HTML_STYLESHEET = doc/e.css 14HTML_STYLESHEET = @srcdir@/e.css
13HTML_ALIGN_MEMBERS = YES 15HTML_ALIGN_MEMBERS = YES
14ENUM_VALUES_PER_LINE = 1 16ENUM_VALUES_PER_LINE = 1
15GENERATE_HTMLHELP = NO 17GENERATE_HTMLHELP = NO
@@ -67,7 +69,7 @@ RECURSIVE = NO
67EXCLUDE = 69EXCLUDE =
68EXCLUDE_SYMLINKS = NO 70EXCLUDE_SYMLINKS = NO
69EXCLUDE_PATTERNS = 71EXCLUDE_PATTERNS =
70EXAMPLE_PATH = 72EXAMPLE_PATH = @top_srcdir@/src/examples
71EXAMPLE_PATTERNS = 73EXAMPLE_PATTERNS =
72EXAMPLE_RECURSIVE = NO 74EXAMPLE_RECURSIVE = NO
73INPUT_FILTER = 75INPUT_FILTER =
diff --git a/legacy/emotion/doc/Makefile.am b/legacy/emotion/doc/Makefile.am
new file mode 100644
index 0000000000..79315037d0
--- /dev/null
+++ b/legacy/emotion/doc/Makefile.am
@@ -0,0 +1,32 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3.PHONY: doc
4
5PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
6
7if EFL_BUILD_DOC
8
9doc-clean:
10 rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
11
12doc: all doc-clean
13 $(efl_doxygen)
14 cp $(srcdir)/img/* html/
15 rm -rf $(PACKAGE_DOCNAME).tar*
16 mkdir -p $(PACKAGE_DOCNAME)/doc
17 cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
18 tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
19 bzip2 -9 $(PACKAGE_DOCNAME).tar
20 rm -rf $(PACKAGE_DOCNAME)/
21 mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
22
23clean-local: doc-clean
24
25else
26
27doc:
28 @echo "Documentation not built. Run ./configure --help"
29
30endif
31
32EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html
diff --git a/legacy/emotion/doc/emotion.dox.in b/legacy/emotion/doc/emotion.dox.in
new file mode 100644
index 0000000000..9bba42e10c
--- /dev/null
+++ b/legacy/emotion/doc/emotion.dox.in
@@ -0,0 +1,24 @@
1/**
2 * @file
3 * @brief Emotion Media Library
4 *
5 * These routines are used for Emotion.
6 */
7
8/**
9 *
10 * @mainpage Emotion Library Documentation
11 * @version @PACKAGE_VERSION@
12 * @author Carsten Haitzler <raster@rasterman.com>
13 * @author vtorri (Vincent Torri) <torri@maths.univ-evry.fr>
14 * @author Sebastian Dransfeld <sd@tango.flipp.net>
15 * @author captainigloo
16 * @date 2003-2011
17 *
18 * @section intro What is Emotion?
19 *
20 * A media object library for Evas and Ecore.
21 *
22 * @todo Complete documentation of API
23 *
24 */
diff --git a/legacy/emotion/emotion.c.in b/legacy/emotion/emotion.c.in
deleted file mode 100644
index aa01486960..0000000000
--- a/legacy/emotion/emotion.c.in
+++ /dev/null
@@ -1,22 +0,0 @@
1/**
2@file
3@brief Emotion Media Library
4
5These routines are used for Emotion.
6*/
7
8/**
9
10@mainpage Emotion Library Documentation
11@image html emotion.png
12@version @VERSION@
13@author Carsten Haitzler <raster@rasterman.com>
14@date 2003-2004
15
16@section intro What is Emotion?
17
18A media object library for Evas and Ecore.
19
20@todo Complete documentation of API
21
22*/
diff --git a/legacy/emotion/gendoc b/legacy/emotion/gendoc
deleted file mode 100755
index 71c7a683d7..0000000000
--- a/legacy/emotion/gendoc
+++ /dev/null
@@ -1,16 +0,0 @@
1#!/bin/sh
2cp ./emotion.c.in ./emotion.c
3for I in `find ./src/lib -name "Emotion.h" -print`; do
4 cat $I >> ./emotion.c
5done
6#for I in `find ./src/lib -name "*.c" -print`; do
7# cat $I >> ./emotion.c
8#done
9rm -rf ./doc/html ./doc/latex ./doc/man
10doxygen
11cp doc/img/*.png doc/html/
12cp doc/img/*.gif doc/html/
13rm -f emotion_docs.tar emotion_docs.tar.gz
14tar -cvf emotion_docs.tar doc/html doc/man doc/latex
15gzip -9 emotion_docs.tar
16exit 0