[PATCH] Check HAVE_XMLTO_TEXT before trying to use xmlto to make text files
Gaetan Nadon
memsize at videotron.ca
Fri Jul 30 18:57:41 PDT 2010
On Fri, 2010-07-30 at 17:45 -0700, Alan Coopersmith wrote:
> Reported-by: Matt Turner <mattst88 at gmail.com>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> doc/xml/xmlrules.in | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in
> index 0d094be..b7fda11 100644
> --- a/doc/xml/xmlrules.in
> +++ b/doc/xml/xmlrules.in
> @@ -48,10 +48,12 @@ xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
> endif
>
> if HAVE_XMLTO
> +if HAVE_XMLTO_TEXT
> BUILT_DOC_FILES += $(TXT_FILES)
> .xml.txt:
> @rm -f $@
> $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
> +endif
>
> BUILT_DOC_FILES += $(HTML_FILES)
> .xml.html:
Tested-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100730/f669694f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100730/f669694f/attachment-0001.pgp>
More information about the xorg-devel
mailing list