Also use STYLESHEET_SRCDIR XSL_STYLESHEET This requires version 1.10 of util-macros
Signed-off-by: Gaetan Nadon <[email protected]> --- configure.ac | 7 +++---- doc/Makefile.am | 3 --- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 936e0ae..5ed4864 100644 --- a/configure.ac +++ b/configure.ac @@ -15,16 +15,15 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE -# Require xorg-macros minimum of 1.7 for XORG_CHECK_SGML_DOCTOOLS +# Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.7 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.7) + [m4_fatal([must install xorg-macros 1.10 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.10) XORG_DEFAULT_OPTIONS XORG_ENABLE_DOCS XORG_WITH_XMLTO(0.0.20) XORG_WITH_FOP XORG_CHECK_SGML_DOCTOOLS(1.5) -AM_CONDITIONAL([HAVE_STYLESHEETS], [test "x$XORG_SGML_PATH" != "x"]) AM_CONFIG_HEADER([config.h]) diff --git a/doc/Makefile.am b/doc/Makefile.am index cd2392e..05f61f7 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -34,9 +34,6 @@ endif CLEANFILES = Xmu.txt Xmu.html Xmu.pdf Xmu.ps xorg.css if HAVE_STYLESHEETS -STYLESHEET_SRCDIR = $(XORG_SGML_PATH)/X11 - -XSL_STYLESHEET = $(STYLESHEET_SRCDIR)/xorg.xsl XMLTO_FLAGS = -m $(XSL_STYLESHEET) doc_DATA += xorg.css -- 1.6.0.4 It was not sufficient to check for a non-zero SGML path. The style sheet may still be missing (old package version) _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
