diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2012-12-01 17:33:22 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-12-03 09:49:34 -0500 |
commit | 76dae4f089793eb7cb9eedd6f95a864b17cc50f6 (patch) | |
tree | 4d640634af9a85a2bdce3d25b1d9674a646c7462 | |
parent | d943c3de08bf0e9ba355041909ed2960df4d2070 (diff) |
doc: Only generate Wayland documentation if xsltproc was found
Instead of failing to generate documentation because xsltproc doesn't
exist, don't try to generate at all.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r-- | doc/Wayland/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
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 |