2012-12-07 Luis Felipe Strano Moraes
* Release 1.7.3
+
+2012-12-17 Vincent Torri
+
+ * Add XML output to doc
+ * Add installation rule for doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = emotion.pc
-.PHONY: doc
+.PHONY: doc install-doc
# Documentation
doc:
@echo "entering doc/"
make -C doc doc
+
+install-doc:
+ @echo "entering doc/"
+ make -C doc install-doc
echo " V4L2.................: ${have_v4l2}"
echo
echo "Documentation..........: ${build_doc}"
+if test "x${build_doc}" = "xyes" ; then
+echo " Installation.......: make install-doc"
+fi
echo "Examples.............: ${enable_build_examples}"
echo "Examples installed...: ${enable_install_examples}"
echo
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = YES
-GENERATE_XML = NO
+GENERATE_XML = YES
XML_SCHEMA =
XML_DTD =
GENERATE_AUTOGEN_DEF = NO
MAINTAINERCLEANFILES = Makefile.in
-.PHONY: doc
+.PHONY: doc install-doc
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
doc-clean:
rm -rf html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
-doc: all doc-clean
+doc-build: all
$(efl_doxygen)
- cp $(srcdir)/img/* html/
- cp $(srcdir)/img/* latex/
+ cp img/* html/
+ cp img/* latex/
+
+doc: doc-build
rm -rf $(PACKAGE_DOCNAME).tar*
mkdir -p $(PACKAGE_DOCNAME)/doc
cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
clean-local: doc-clean
+install-doc: doc-build
+ install -d $(docdir)
+ cp -R html latex man xml $(docdir)
+
+uninstall-local:
+ rm -rf $(docdir)/html $(docdir)/latex $(docdir)/man $(docdir)/xml
+
else
doc:
@echo "Documentation not built. Run ./configure --help"
+install-doc: doc
+
endif
EXTRA_DIST = Doxyfile.in $(wildcard img/*.*) e.css head.html foot.html examples.dox
+PACKAGE_TARNAME=@PACKAGE_TARNAME@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+docdir=@docdir@
Name: emotion
Description: Emotion evas based multimedia library