docs: add html target

This commit is contained in:
Stephan Sundermann 2014-08-07 01:24:23 +02:00
parent 0dd852bccb
commit cd2557410d
2 changed files with 5 additions and 0 deletions

View file

@ -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")

View file

@ -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