diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-12-07 16:31:55 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-12-14 14:55:08 -0800 |
commit | 03ea0b7726487b96df73936518da73d023e51334 (patch) | |
tree | eb645b7dc6f5ead802937a26158e5bed3ebf0395 | |
parent | c78c71c3a872665e426a0a4b82f17007bd8c12cd (diff) |
docs: replace BUILLDOCS with existing ENABLE_DEVEL_DOCS
Use the util-macros AM Conditionals to control generation of developers
documents. This is used throughout xorg modules.
The doxygen generated docs are now also managed by --enable-devel-docs.
Remove --enable-builddocs as this was last use for BUILDDOCS
*** From the RELEASE NOTES ***
New configure options for documentation in modules
--------------------------------------------------
As many more modules now contain documentation to be converted from DocBook XML to text,
HTML, PostScript, and/or PDF formats, new standard options have been added to the configure
macros to control the build of these in the modules.
--with-xmlto=yes|no
Enables or disables use of the xmlto [https://fedorahosted.org/
xmlto/] command to translate DocBook XML to other formats.
All DocBook XML conversions require use of this command.
--with-fop=yes|no
Enables or disables use of the Apache fop [http://
xmlgraphics.apache.org/fop/] command to translate DocBook
XML to PostScript and PDF formats.
--enable-docs=yes|no
Enables or disables the build and installation of all
documentation except traditional man pages or those covered
by the --enable-devel-docs and --enable-specs options.
--enable-devel-docs=yes|no
Enables or disables the build and installation of documentation
for developers of the X.Org software modules.
--enable-specs=yes|no
Enables or disables the build and installation of the formal
specification documents for protocols and APIs.
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | hw/dmx/Makefile.am | 6 | ||||
-rw-r--r-- | hw/dmx/doc/Makefile.am | 2 | ||||
-rw-r--r-- | hw/xfree86/doc/Makefile.am | 4 |
4 files changed, 2 insertions, 15 deletions
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 |