if test x$xmltoman = xyes ; then
AC_CHECK_PROG(have_xmltoman, xmltoman, yes, no)
-
- if test x$have_xmltoman = xno ; then
- if ! test -e man/avahi-daemon.8 ; then
- AC_MSG_ERROR([*** xmltoman was not found, it is required to build the manpages and they have not been pre-built])
- exit 1
- fi
- AC_MSG_WARN([*** Not rebuilding man pages as xmltoman is not found ***])
- xmltoman=no
+ fi
+
+ if test x$have_xmltoman = xno -o x$xmltoman = xno; then
+ if ! test -e man/avahi-daemon.8 ; then
+ AC_MSG_ERROR([*** xmltoman was not found or was disabled, it is required to build the manpages as they have not been pre-built, install xmltoman, pass --disable-manpages or dont pass --disable-xmltoman])
+ exit 1
fi
+ AC_MSG_WARN([*** Not rebuilding man pages as xmltoman is not found ***])
+ xmltoman=no
fi
fi
AM_CONDITIONAL([USE_XMLTOMAN], [test "x$xmltoman" = xyes])
pkgsysconfdir=$(sysconfdir)/avahi
servicedir=$(pkgsysconfdir)/services
+if BUILD_MANPAGES
+
+man_MANS = \
+ avahi-daemon.8 \
+ avahi-dnsconfd.8 \
+ avahi-daemon.conf.5 \
+ avahi-dnsconfd.action.8 \
+ avahi.service.5
+
noinst_DATA = \
avahi-browse.1.xml \
avahi-publish-service.1.xml \
CLEANFILES = \
$(noinst_DATA)
-if BUILD_MANPAGES
-
-man_MANS = \
- avahi-daemon.8 \
- avahi-dnsconfd.8 \
- avahi-daemon.conf.5 \
- avahi-dnsconfd.action.8 \
- avahi.service.5
-
if HAVE_PYTHON
if HAVE_DBUS