mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
This commit is contained in:
parent
de64489b95
commit
b77cf86290
2 changed files with 14 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue