forked from enlightenment/efl
emotion/doc - doc build now uses the build system, instead gendoc.
SVN revision: 60839
This commit is contained in:
parent
234b200068
commit
d93a2cb446
|
@ -2,19 +2,28 @@
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = src data
|
SUBDIRS = src data doc
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess emotion.spec \
|
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess emotion.spec \
|
||||||
config.h.in config.sub configure install-sh \
|
config.h.in config.sub configure install-sh \
|
||||||
ltconfig ltmain.sh missing mkinstalldirs \
|
ltconfig ltmain.sh missing mkinstalldirs \
|
||||||
stamp-h.in emotion_docs.tar emotion_docs.tar.gz \
|
stamp-h.in emotion_docs.tar \
|
||||||
emotion.c acconfig.h depcomp
|
emotion.c acconfig.h depcomp \
|
||||||
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2
|
||||||
|
|
||||||
bin_SCRIPTS =
|
bin_SCRIPTS =
|
||||||
|
|
||||||
EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN \
|
EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN \
|
||||||
emotion.spec emotion.spec.in emotion.c.in gendoc Doxyfile \
|
emotion.spec emotion.spec.in emotion.c.in Doxyfile \
|
||||||
emotion.pc.in
|
emotion.pc.in
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = emotion.pc
|
pkgconfig_DATA = emotion.pc
|
||||||
|
|
||||||
|
.PHONY: doc
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
|
||||||
|
doc:
|
||||||
|
@echo "entering doc/"
|
||||||
|
make -C doc doc
|
||||||
|
|
|
@ -242,6 +242,9 @@ src/modules/xine/Makefile
|
||||||
src/modules/gstreamer/Makefile
|
src/modules/gstreamer/Makefile
|
||||||
src/edje_external/Makefile
|
src/edje_external/Makefile
|
||||||
src/bin/Makefile
|
src/bin/Makefile
|
||||||
|
doc/Makefile
|
||||||
|
doc/Doxyfile
|
||||||
|
doc/emotion.dox
|
||||||
data/Makefile
|
data/Makefile
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -271,6 +274,8 @@ echo
|
||||||
echo " Xattr................: ${have_xattr}"
|
echo " Xattr................: ${have_xattr}"
|
||||||
echo " Eio..................: ${have_eio}"
|
echo " Eio..................: ${have_eio}"
|
||||||
echo
|
echo
|
||||||
|
echo "Documentation..........: ${build_doc}"
|
||||||
|
echo
|
||||||
echo "Compilation............: make (or gmake)"
|
echo "Compilation............: make (or gmake)"
|
||||||
echo " CPPFLAGS.............: $CPPFLAGS"
|
echo " CPPFLAGS.............: $CPPFLAGS"
|
||||||
echo " CFLAGS...............: $CFLAGS"
|
echo " CFLAGS...............: $CFLAGS"
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
PROJECT_NAME = Emotion
|
PROJECT_NAME = Emotion
|
||||||
PROJECT_NUMBER =
|
PROJECT_NUMBER = @PACKAGE_VERSION@
|
||||||
OUTPUT_DIRECTORY = doc
|
OUTPUT_DIRECTORY = .
|
||||||
INPUT = emotion.c
|
INPUT = emotion.dox \
|
||||||
IMAGE_PATH = doc/img
|
@top_srcdir@/src/lib \
|
||||||
|
@srcdir@/examples.dox
|
||||||
|
IMAGE_PATH = img
|
||||||
OUTPUT_LANGUAGE = English
|
OUTPUT_LANGUAGE = English
|
||||||
GENERATE_HTML = YES
|
GENERATE_HTML = YES
|
||||||
HTML_OUTPUT = html
|
HTML_OUTPUT = html
|
||||||
HTML_FILE_EXTENSION = .html
|
HTML_FILE_EXTENSION = .html
|
||||||
HTML_HEADER = doc/head.html
|
HTML_HEADER = @srcdir@/head.html
|
||||||
HTML_FOOTER = doc/foot.html
|
HTML_FOOTER = @srcdir@/foot.html
|
||||||
HTML_STYLESHEET = doc/e.css
|
HTML_STYLESHEET = @srcdir@/e.css
|
||||||
HTML_ALIGN_MEMBERS = YES
|
HTML_ALIGN_MEMBERS = YES
|
||||||
ENUM_VALUES_PER_LINE = 1
|
ENUM_VALUES_PER_LINE = 1
|
||||||
GENERATE_HTMLHELP = NO
|
GENERATE_HTMLHELP = NO
|
||||||
|
@ -67,7 +69,7 @@ RECURSIVE = NO
|
||||||
EXCLUDE =
|
EXCLUDE =
|
||||||
EXCLUDE_SYMLINKS = NO
|
EXCLUDE_SYMLINKS = NO
|
||||||
EXCLUDE_PATTERNS =
|
EXCLUDE_PATTERNS =
|
||||||
EXAMPLE_PATH =
|
EXAMPLE_PATH = @top_srcdir@/src/examples
|
||||||
EXAMPLE_PATTERNS =
|
EXAMPLE_PATTERNS =
|
||||||
EXAMPLE_RECURSIVE = NO
|
EXAMPLE_RECURSIVE = NO
|
||||||
INPUT_FILTER =
|
INPUT_FILTER =
|
|
@ -0,0 +1,32 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
.PHONY: doc
|
||||||
|
|
||||||
|
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
|
||||||
|
|
||||||
|
if EFL_BUILD_DOC
|
||||||
|
|
||||||
|
doc-clean:
|
||||||
|
rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
|
||||||
|
|
||||||
|
doc: all doc-clean
|
||||||
|
$(efl_doxygen)
|
||||||
|
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_builddir)
|
||||||
|
|
||||||
|
clean-local: doc-clean
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
doc:
|
||||||
|
@echo "Documentation not built. Run ./configure --help"
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html
|
|
@ -0,0 +1,24 @@
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* @brief Emotion Media Library
|
||||||
|
*
|
||||||
|
* These routines are used for Emotion.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @mainpage Emotion Library Documentation
|
||||||
|
* @version @PACKAGE_VERSION@
|
||||||
|
* @author Carsten Haitzler <raster@rasterman.com>
|
||||||
|
* @author vtorri (Vincent Torri) <torri@maths.univ-evry.fr>
|
||||||
|
* @author Sebastian Dransfeld <sd@tango.flipp.net>
|
||||||
|
* @author captainigloo
|
||||||
|
* @date 2003-2011
|
||||||
|
*
|
||||||
|
* @section intro What is Emotion?
|
||||||
|
*
|
||||||
|
* A media object library for Evas and Ecore.
|
||||||
|
*
|
||||||
|
* @todo Complete documentation of API
|
||||||
|
*
|
||||||
|
*/
|
|
@ -1,22 +0,0 @@
|
||||||
/**
|
|
||||||
@file
|
|
||||||
@brief Emotion Media Library
|
|
||||||
|
|
||||||
These routines are used for Emotion.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
@mainpage Emotion Library Documentation
|
|
||||||
@image html emotion.png
|
|
||||||
@version @VERSION@
|
|
||||||
@author Carsten Haitzler <raster@rasterman.com>
|
|
||||||
@date 2003-2004
|
|
||||||
|
|
||||||
@section intro What is Emotion?
|
|
||||||
|
|
||||||
A media object library for Evas and Ecore.
|
|
||||||
|
|
||||||
@todo Complete documentation of API
|
|
||||||
|
|
||||||
*/
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
cp ./emotion.c.in ./emotion.c
|
|
||||||
for I in `find ./src/lib -name "Emotion.h" -print`; do
|
|
||||||
cat $I >> ./emotion.c
|
|
||||||
done
|
|
||||||
#for I in `find ./src/lib -name "*.c" -print`; do
|
|
||||||
# cat $I >> ./emotion.c
|
|
||||||
#done
|
|
||||||
rm -rf ./doc/html ./doc/latex ./doc/man
|
|
||||||
doxygen
|
|
||||||
cp doc/img/*.png doc/html/
|
|
||||||
cp doc/img/*.gif doc/html/
|
|
||||||
rm -f emotion_docs.tar emotion_docs.tar.gz
|
|
||||||
tar -cvf emotion_docs.tar doc/html doc/man doc/latex
|
|
||||||
gzip -9 emotion_docs.tar
|
|
||||||
exit 0
|
|
Loading…
Reference in New Issue