docs still getting built in xorg-server despite --disable-specs --disable-devel-docs --disable-docs

Alan Coopersmith alan.coopersmith at oracle.com
Fri Nov 5 14:35:41 PDT 2010


Jeremy Huddleston wrote:
> 
> Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
> ---
>  doc/xml/dtrace/Makefile.am |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/doc/xml/dtrace/Makefile.am b/doc/xml/dtrace/Makefile.am
> index 0e25e5d..a941563 100644
> --- a/doc/xml/dtrace/Makefile.am
> +++ b/doc/xml/dtrace/Makefile.am
> @@ -25,11 +25,13 @@ XML_FILES = Xserver-DTrace.xml
> 
>  include ../xmlrules.in
> 
> +if ENABLE_DEVEL_DOCS
>  if XSERVER_DTRACE
>  doc_DATA = $(BUILT_DOC_FILES)
>  else
>  noinst_DATA = $(BUILT_DOC_FILES)
>  endif
> +endif
> 
>  CLEANFILES = $(CLEAN_DOC_FILES)
> 

I'd say those should be ENABLE_DOCS instead of ENABLE_DEVEL_DOCS, since
they are for end-users, not people hacking on the code itself, but adding
the if statements there seems right.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list