[PATCH] doc: Fix out-of-tree build and also distcheck

Jon A. Cruz jonc at osg.samsung.com
Fri Jan 30 18:07:24 PST 2015


Corrects an issue that would cause out-of-tree builds to fail and also
a few items that would cause distcheck to fail.

Signed-off-by: Jon A. Cruz <jonc at osg.samsung.com>
---
 doc/doxygen/Makefile.am  | 4 +++-
 doc/publican/Makefile.am | 7 ++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 283e077..edf3652 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -24,7 +24,7 @@ scanned_src_files_man =					\
 	$(top_srcdir)/src/wayland-client.c	\
 	$(top_srcdir)/src/wayland-client.h
 
-diagramsdir := dot
+diagramsdir := $(srcdir)/dot
 diagramssrc := $(wildcard $(diagramsdir)/*.gv)
 diagrams := $(patsubst $(diagramsdir)/%,xml/%,$(diagramssrc:.gv=.png))
 diagram_maps := $(patsubst $(diagramsdir)/%,xml/%,$(diagramssrc:.gv=.map))
@@ -72,3 +72,5 @@ all-local: man/man3/wl_display.3
 clean-local:
 	rm -rf xml/
 	rm -rf man/
+
+EXTRA_DIST = $(diagramssrc)
diff --git a/doc/publican/Makefile.am b/doc/publican/Makefile.am
index 4a7f225..4f1bebf 100644
--- a/doc/publican/Makefile.am
+++ b/doc/publican/Makefile.am
@@ -156,4 +156,9 @@ uninstall-local:
 endif
 endif
 
-EXTRA_DIST = $(publican_sources) $(css_sources) $(img_sources) protocol-to-docbook.xsl protocol-interfaces-to-docbook.xsl doxygen-to-publican.xsl
+EXTRA_DIST = \
+	$(publican_sources) $(processed_sources) $(css_sources) $(img_sources) \
+	protocol-to-docbook.xsl \
+	protocol-interfaces-to-docbook.xsl \
+	doxygen-to-publican.xsl \
+	merge-mapcoords.xsl
-- 
2.1.0



More information about the wayland-devel mailing list