]> andersk Git - libyaml.git/blobdiff - include/Makefile.am
Doxygenify the header file.
[libyaml.git] / include / Makefile.am
index 29b04f31912e05484ca44b6a865c906f50061579..5c5f7dd69540ef3688be5a596c361d7743ff2e9a 100644 (file)
@@ -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
This page took 0.024767 seconds and 4 git commands to generate.