summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configure.ac3
-rw-r--r--docs/man5/Makefile.am3
-rw-r--r--docs/man8/Makefile.am3
3 files changed, 3 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 74bba14..6fd041e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -279,6 +279,9 @@ AC_SUBST(ADDITIONAL_OBJECTS)
# Check for asciidoc
AC_PATH_PROG(A2X, a2x, no)
AM_CONDITIONAL(HAVE_A2X, test "x$A2X" != "xno")
+if test x"$A2X" = x"no"; then
+ AC_MSG_ERROR([Test for asciidoc failed. See the file 'INSTALL' for help.])
+fi
AC_CONFIG_FILES([
Makefile
diff --git a/docs/man5/Makefile.am b/docs/man5/Makefile.am
index 95f3833..8143932 100644
--- a/docs/man5/Makefile.am
+++ b/docs/man5/Makefile.am
@@ -15,9 +15,6 @@ else
@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
endif
-EXTRA_DIST = \
- $(man_MANS)
-
CLEANFILES = \
$(MAN5_FILES:.txt=.5) \
$(MAN5_FILES:.txt=.xml)
diff --git a/docs/man8/Makefile.am b/docs/man8/Makefile.am
index 0bd9ea6..ba38f3a 100644
--- a/docs/man8/Makefile.am
+++ b/docs/man8/Makefile.am
@@ -15,9 +15,6 @@ else
@echo "*** a2x (asciidoc) is required to regenerate $(@) ***"; exit 1;
endif
-EXTRA_DIST = \
- $(man_MANS)
-
CLEANFILES = \
$(MAN8_FILES:.txt=.8) \
$(MAN8_FILES:.txt=.xml)