Allow configure with DOCBOOK_TO_MAN="xmlto man --skip-validation".
This commit is contained in:
parent
622da3af18
commit
b242236c8e
@ -241,7 +241,7 @@ AS_IF([test "x$with_docbook" != xno],
|
||||
[if test "x$with_docbook" != xcheck; then
|
||||
AC_MSG_ERROR([Required program 'docbook2x-man' not found.])])])
|
||||
|
||||
AM_CONDITIONAL(WITH_DOCBOOK, [test x${DOCBOOK_TO_MAN} != x])
|
||||
AM_CONDITIONAL(WITH_DOCBOOK, [test "x${DOCBOOK_TO_MAN}" != x])
|
||||
|
||||
AC_CONFIG_FILES([Makefile expat.pc])
|
||||
AC_CONFIG_FILES([
|
||||
|
@ -32,8 +32,9 @@ dist_man_MANS = xmlwf.1
|
||||
|
||||
xmlwf.1: xmlwf.xml
|
||||
if WITH_DOCBOOK
|
||||
-rm -f $@
|
||||
$(DOCBOOK_TO_MAN) $<
|
||||
mv XMLWF.1 $@
|
||||
test -f $@ || mv XMLWF.1 $@
|
||||
else
|
||||
@echo 'ERROR: Configure with --with-docbook for "make dist".' 1>&2
|
||||
@false
|
||||
|
Loading…
Reference in New Issue
Block a user