[PATCH wayland 1/5] doc: Only generate Wayland documentation if xsltproc was found

Kristian Høgsberg hoegsberg at gmail.com
Mon Dec 3 07:09:57 PST 2012


On Sat, Dec 01, 2012 at 05:33:22PM +0100, Jonas Ådahl wrote:
> Instead of failing to generate documentation because xsltproc doesn't
> exist, don't try to generate at all.

I've picked this one and the next patch, but before going further we
should figure out what to do for man pages.  If we can generate them
from the doxygen comments, that's better, but we don't have that
working yet.  Also, I'm curious if the man page output of doxygen is
good enough compared to a hand-written man pages.

Kristian

> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> ---
>  doc/Wayland/Makefile.am |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/doc/Wayland/Makefile.am b/doc/Wayland/Makefile.am
> index 53ad6ee..1d27b1a 100644
> --- a/doc/Wayland/Makefile.am
> +++ b/doc/Wayland/Makefile.am
> @@ -14,6 +14,7 @@ publican_sources = \
>  	$(srcdir)/en_US/images/x-architecture.png
>  
>  if HAVE_PUBLICAN
> +if HAVE_XSLTPROC
>  noinst_DATA = Wayland $(publican_targets)
>  pubdir = $(docdir)/Wayland/en-US
>  
> @@ -96,5 +97,6 @@ uninstall-local:
>  	fi;
>  
>  endif
> +endif
>  
>  EXTRA_DIST = $(publican_sources) publican.cfg protocol-to-docbook.xsl protocol-interfaces-to-docbook.xsl doxygen-to-publican.xsl
> -- 
> 1.7.10.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list