forked from enlightenment/efl
33 lines
697 B
Makefile
33 lines
697 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
.PHONY: doc
|
|
|
|
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
|
|
|
|
if EFL_BUILD_DOC
|
|
|
|
doc-clean:
|
|
rm -rf html/ latex/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
|
|
|
|
doc: all
|
|
$(efl_doxygen)
|
|
cp $(srcdir)/images/* html/
|
|
rm -rf $(PACKAGE_DOCNAME).tar*
|
|
mkdir -p $(PACKAGE_DOCNAME)/doc
|
|
cp -R html/ latex/ $(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 images/*.*) e.css head.html foot.html
|