Make asciidoc a requirement for building Tinyproxy

asciidoc is necessary as the version number is added during
configure into the asciidoc manpage sources. So simply bundling
a pre-generated manpage won't do.
This commit is contained in:
Mukund Sivaraman 2009-11-14 16:34:06 +05:30
parent 2061a18313
commit c42fbaaf80
3 changed files with 3 additions and 6 deletions

View File

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

View File

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

View File

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