[PATCH] doc/xml: fix disabling of devel docs

Alan Coopersmith alan.coopersmith at oracle.com
Tue Dec 7 10:50:52 PST 2010


Tiago Vignatti wrote:
> On Tue, Dec 07, 2010 at 10:03:35AM -0800, ext Alan Coopersmith wrote:
>> Tiago Vignatti wrote:
>>> From: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
>>>
>>> Co-authored-by: Tiago Vignatti <tiago.vignatti at nokia.com>
>>> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
>>> Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.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)
>>>  
>> NAK, they are not "devel" docs, but end-user docs.
> 
> What if we use BUILDDOCS then, Alan?

That would be fine, assuming that you get the right macros/versions
for the revisions Gaetan has been doing.

> PS: my mom can't read Xserver-DTrace.xml :)

You should teach her how to use gnome-help then:
	gnome-help /usr/share/doc/xserver/Xserver-DTrace.xml

You might have to tell her to get a better OS to actually use it though,
such as Solaris, MacOS X, or FreeBSD, at least until someone gets the
probes working with SystemTap's support for DTrace probes.

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



More information about the xorg-devel mailing list