diff options
author | Nils Gillmann <ng0@n0.is> | 2018-09-07 15:41:06 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-09-07 15:41:06 +0000 |
commit | 15a3a09d508eed0f6d2612dd42d1b8ea720eb036 (patch) | |
tree | 6027869fe8feefc6c3f82b9204fc8ec3b4870d23 /configure.ac | |
parent | e7583540d0ec62c21fbf098dd757be5505a8a71d (diff) | |
download | gnunet-15a3a09d508eed0f6d2612dd42d1b8ea720eb036.tar.gz gnunet-15a3a09d508eed0f6d2612dd42d1b8ea720eb036.zip |
doc: start work on mdoc generation support
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 10991e574..3be070b91 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -688,6 +688,24 @@ else | |||
688 | AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation]) | 688 | AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation]) |
689 | fi | 689 | fi |
690 | 690 | ||
691 | # TODO: Include check for mandoc + texi2mdoc. | ||
692 | # TODO: Rename the switch? Just 'section7' is too vague. | ||
693 | # mdoc section 7 output. | ||
694 | AC_MSG_CHECKING(wether to build section 7 mdoc output) | ||
695 | AC_ARG_ENABLE([section7], | ||
696 | [AS_HELP_STRING([--disable-section7], [do not build section 7 mdoc output])], | ||
697 | [section7=${enableval}], | ||
698 | [section7=yes]) | ||
699 | AC_MSG_RESULT($section7) | ||
700 | if test "x$section7" = "xyes" | ||
701 | then | ||
702 | AM_CONDITIONAL([SECTION7],true) | ||
703 | AC_DEFINE([SECTION7],[1],[Building section 7 mdoc output]) | ||
704 | else | ||
705 | AM_CONDITIONAL([SECTION7],false) | ||
706 | AC_DEFINE([SECTION7],[0],[Not building section 7 mdoc output]) | ||
707 | fi | ||
708 | |||
691 | # should the build process be building only the documentation? | 709 | # should the build process be building only the documentation? |
692 | AC_MSG_CHECKING(whether to build only documentation) | 710 | AC_MSG_CHECKING(whether to build only documentation) |
693 | AC_ARG_ENABLE([documentation-only], | 711 | AC_ARG_ENABLE([documentation-only], |