summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHarish Krupo <harishkrupo@gmail.com>2019-04-19 19:31:08 +0530
committerHarish Krupo <harishkrupo@gmail.com>2019-04-19 19:34:09 +0530
commitb77cf862909f5cc2a4b20f0f92c586a1f135dd92 (patch)
tree4c38af5ba121519c3ce052768cbd2df06ae5a8ff /doc
parentde64489b95f8bfefe3b19c7446b55914ea59e17c (diff)
downloadwayland-b77cf862909f5cc2a4b20f0f92c586a1f135dd92.tar.gz
docs: Abort configure if docbook-xsl package is missing
The docbook-xsl package includes all the stylesheets required to build the docs without internet access. Test: One way to emulate missing style sheets is to move /etc/xml/catalog file to a different location. Doing so should cause configure to fail with "checking for docbook stylesheets... no" v2: add AC_MSG_RESULT (Pekka) Signed-off-by: Harish Krupo <harishkrupo@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 41665eb..4e6365c 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -15,7 +15,6 @@ CLEANFILES =
EXTRA_DIST = $(XML_FILES)
if HAVE_XSLTPROC
-if HAVE_MANPAGES_STYLESHEET
CLEANFILES += $(MANPAGES) $(MANPAGES_ALIASES)
EXTRA_DIST += $(MANPAGES) $(MANPAGES_ALIASES)
@@ -30,7 +29,7 @@ XSLTPROC_FLAGS = \
XSLTPROC_PROCESS_MAN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(MANPAGES_STYLESHEET) $< && \
+ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCS_STYLESHEET) $< && \
$(SED) -i -e 's/^\.so \(.*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES)
%.1: %.xml
@@ -47,5 +46,4 @@ XSLTPROC_PROCESS_MAN = \
wl_display_connect_to_fd.3: wl_display_connect.3
-endif # HAVE_MANPAGES_STYLESHEET
endif # HAVE_XSLTPROC