diff --git a/configure.ac b/configure.ac index 38158f9d1..a5967ad03 100644 --- a/configure.ac +++ b/configure.ac @@ -581,9 +581,6 @@ AC_ARG_ENABLE(sparkle,AS_HELP_STRING([--enable-sparkle], [Enable updating of X11 [ XQUARTZ_SPARKLE="${enableval}" ], [ XQUARTZ_SPARKLE="no" ]) AC_SUBST([XQUARTZ_SPARKLE]) -AC_ARG_ENABLE(builddocs, AS_HELP_STRING([--enable-builddocs], [Build docs (default: disabled)]), - [BUILDDOCS=$enableval], - [BUILDDOCS=no]) AC_ARG_ENABLE(install-libxf86config, AS_HELP_STRING([--enable-install-libxf86config], [Install libxf86config (default: disabled)]), @@ -709,8 +706,6 @@ if test "x$INT10" = xyes; then AC_CHECK_HEADERS([sys/vm86.h sys/io.h]) fi -dnl Handle building documentation -AM_CONDITIONAL(BUILDDOCS, test "x$BUILDDOCS" = xyes) XORG_ENABLE_DOCS XORG_ENABLE_DEVEL_DOCS XORG_WITH_XMLTO(0.0.20) diff --git a/hw/dmx/Makefile.am b/hw/dmx/Makefile.am index 3c8fa1365..2a87c3966 100644 --- a/hw/dmx/Makefile.am +++ b/hw/dmx/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = input config examples +SUBDIRS = input config examples doc bin_PROGRAMS = Xdmx if XINERAMA @@ -14,10 +14,6 @@ GLX_INCS = -I$(top_srcdir)/hw/xfree86/dixmods/extmod GLX_DEFS = @GL_CFLAGS@ endif -if BUILDDOCS -SUBDIRS += doc -endif - AM_CFLAGS = \ -DHAVE_DMX_CONFIG_H \ $(DIX_CFLAGS) \ diff --git a/hw/dmx/doc/Makefile.am b/hw/dmx/doc/Makefile.am index 6dea366bf..4bbc8bf88 100644 --- a/hw/dmx/doc/Makefile.am +++ b/hw/dmx/doc/Makefile.am @@ -24,7 +24,6 @@ doc_sources = dmx.xml scaled.xml # Developer's documentation is not installed if ENABLE_DEVEL_DOCS include $(top_srcdir)/doc/xml/xmlrules-noinst.in -endif if HAVE_DOXYGEN @@ -40,6 +39,7 @@ html/annotated.html: $(DOXYGEN_SRC) maintainer-clean-local: rm -rf html/ endif +endif ENABLE_DEVEL_DOCS EXTRA_DIST = \ $(XML_FILES) \ diff --git a/hw/xfree86/doc/Makefile.am b/hw/xfree86/doc/Makefile.am index 33ff18ab7..80217365d 100644 --- a/hw/xfree86/doc/Makefile.am +++ b/hw/xfree86/doc/Makefile.am @@ -1,8 +1,4 @@ -if BUILDDOCS SUBDIRS = devel man sgml -else -SUBDIRS = man -endif EXTRA_DIST = \ README.modes