mirror of https://github.com/Icinga/icinga2.git
parent
bff540b359
commit
73f84c6095
|
@ -45,7 +45,7 @@ DX_XML_FEATURE(OFF)
|
|||
DX_PDF_FEATURE(OFF)
|
||||
DX_PS_FEATURE(OFF)
|
||||
DX_INIT_DOXYGEN([icinga], [docs/Doxyfile], [docs/dev])
|
||||
AD_INIT_ASCIIDOC([icinga], [], [docs])
|
||||
AD_INIT_ASCIIDOC([icinga], [docs])
|
||||
|
||||
AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# SYNOPSIS
|
||||
#
|
||||
# AD_INIT_ASCIIDOC(PROJECT-NAME, DOXYFILE-PATH, [OUTPUT-DIR])
|
||||
# AD_INIT_ASCIIDOC(PROJECT-NAME, [OUTPUT-DIR])
|
||||
# AD_ASCIIDOC_FEATURE(ON|OFF)
|
||||
#
|
||||
# DESCRIPTION
|
||||
|
@ -122,15 +122,14 @@ fi
|
|||
# -----------------------------
|
||||
AC_DEFUN([AD_ASCIIDOC_FEATURE], [AC_DEFUN([AD_FEATURE_asciidoc], [$1])])
|
||||
|
||||
# AD_INIT_ASCIIDOC(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR])
|
||||
# AD_INIT_ASCIIDOC(PROJECT, [OUTPUT-DOC-DIR])
|
||||
# ---------------------------------------------------------
|
||||
# PROJECT also serves as the base name for the documentation files.
|
||||
AC_DEFUN([AD_INIT_ASCIIDOC], [
|
||||
|
||||
# Files:
|
||||
AC_SUBST([AD_PROJECT], [$1])
|
||||
AC_SUBST([AD_CONFIG], [ifelse([$2], [], [], [$2])])
|
||||
AC_SUBST([AD_DOCDIR], [ifelse([$3], [], docs, [$3])])
|
||||
AC_SUBST([AD_DOCDIR], [ifelse([$2], [], docs, [$2])])
|
||||
|
||||
# Asciidoc itself:
|
||||
AD_ARG_ABLE(doc, [generate any asciidoc documentation],
|
||||
|
|
Loading…
Reference in New Issue