From cd2557410daa6915186dedaa63d8b868a8de83b2 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Thu, 7 Aug 2014 01:24:23 +0200 Subject: [PATCH] docs: add html target --- configure.ac | 2 ++ doc/Makefile.am | 3 +++ 2 files changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 3a9c01e083..22c1c4384e 100644 --- a/configure.ac +++ b/configure.ac @@ -136,6 +136,7 @@ AC_SUBST(GAPI_CODEGEN) dnl Check for monodoc AC_PATH_PROG(MDASSEMBLER, mdassembler, no) AC_PATH_PROG(MONODOCER, monodocer, no) +AC_PATH_PROG(MONODOCS2HTML, monodocs2html, no) if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then enable_monodoc=no doc_sources_dir= @@ -145,6 +146,7 @@ else fi AC_SUBST(MDASSEMBLER) AC_SUBST(MONODOCER) +AC_SUBST(MONODOCS2HTML) AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") diff --git a/doc/Makefile.am b/doc/Makefile.am index 556a577dd2..339ab6d039 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -17,6 +17,9 @@ all: $(TARGETS) update: $(MONODOCER) $(UPDATE_ASSEMBLIES) -path:en +html: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml + $(MONODOCS2HTML) -source:$(srcdir)/en -dest:html + $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml: $(MONODOCER) $(UPDATE_ASSEMBLIES) -path:en