2010-10-11 10:18:39 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
|
|
|
.PHONY: doc
|
|
|
|
|
|
|
|
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
|
|
|
|
|
|
|
|
if EFL_BUILD_DOC
|
|
|
|
|
|
|
|
doc-clean:
|
|
|
|
rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar*
|
|
|
|
|
|
|
|
doc: all
|
|
|
|
$(efl_doxygen)
|
2011-12-03 07:00:13 -08:00
|
|
|
cp $(srcdir)/img/* html/
|
2010-10-11 10:18:39 -07:00
|
|
|
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)/
|
2011-12-03 07:00:13 -08:00
|
|
|
mv $(PACKAGE_DOCNAME).tar.bz2 $(top_builddir)
|
2010-10-11 10:18:39 -07:00
|
|
|
|
|
|
|
clean-local: doc-clean
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
doc:
|
|
|
|
@echo "Documentation not built. Run ./configure --help"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-06-27 08:12:58 -07:00
|
|
|
EXTRA_DIST = $(builddir)/Doxyfile $(wildcard $(srcdir)/img/*.*) $(srcdir)/e.css $(srcdir)/head.html $(srcdir)/foot.html
|