This change fixes two problems:
1. XMLLINT was only checked in configure if --without-cairo was not given. However,
the documentation (may) require it.
2. The file doc/help-pages-list needed to be shipped. Otherwise the docs need to be rebuilt which
is not desired for users
AC_DEFINE([HAVE_CAIRO], 1,
[Define to 1 if Cairo and Pango are available.])],
[PSPP_REQUIRED_PREREQ([cairo 1.5 or later and pango 1.22 or later (or use --without-cairo)])])
- AC_PATH_PROG([XMLLINT], [xmllint], [echo], [$PATH])
- AC_SUBST(XMLLINT)
fi
+dnl Xmllint may be required to build the documentation
+AC_PATH_PROG([XMLLINT], [xmllint], [echo], [$PATH])
+AC_SUBST(XMLLINT)
+
# Support for GUI.
AC_ARG_WITH([gui],
[AS_HELP_STRING([--without-gui],
dist_man_MANS += doc/pspp.1 \
doc/psppire.1
-EXTRA_DIST += doc/get-commands.pl
+EXTRA_DIST += doc/get-commands.pl doc/help-pages-list
$(srcdir)/doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl
@$(MKDIR_P) doc