X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/cec6fc98ebecc208edc30a900e6ab195e7c21851..6eb1ded4c43d20264ed22f0d82f16043417cd765:/include/Makefile.am diff --git a/include/Makefile.am b/include/Makefile.am index 29b04f3..5c5f7dd 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1 +1,17 @@ -nobase_include_HEADERS = yaml/yaml.h yaml/yaml_version.h yaml/yaml_error.h +INCLUDES = yaml/yaml.h #yaml/yaml_version.h yaml/yaml_error.h +DOXYGEN_CFG = $(top_srcdir)/doc/doxygen.cfg + +nobase_include_HEADERS = $(INCLUDES) + +if DOXYGEN + +html: $(INCLUDES) $(DOXYGEN_CFG) + PACKAGE=$(PACKAGE) VERSION=$(VERSION) top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) doxygen $(DOXYGEN_CFG) + +endif + +distclean-local: + -rm -rf $(top_builddir)/doc/html + +dist-hook: html + cp -a $(top_builddir)/doc/html $(top_distdir)/doc