mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-27 06:59:51 -05:00
man: fix compilation without xsltproc
We really shouldn't add the man-pages when HAVE_XSLTPROC is not true so move it into the if-clause. But declare the automake-variables outside of the if-clause to avoid automake complaints. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
49dee9a86c
commit
56ea2e793b
1 changed files with 9 additions and 5 deletions
|
|
@ -9,16 +9,18 @@ MANPAGES = \
|
|||
MANPAGES_ALIASES = \
|
||||
wl_display_connect_to_fd.3
|
||||
|
||||
wl_display_connect_to_fd.3: wl_display_connect.3
|
||||
|
||||
XML_FILES = \
|
||||
${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,$(MANPAGES)}}}}
|
||||
CLEANFILES = $(MANPAGES) $(MANPAGES_ALIASES)
|
||||
EXTRA_DIST = $(MANPAGES) $(MANPAGES_ALIASES) $(XML_FILES)
|
||||
man_MANS = $(MANPAGES) $(MANPAGES_ALIASES)
|
||||
CLEANFILES =
|
||||
EXTRA_DIST =
|
||||
man_MANS =
|
||||
|
||||
if HAVE_XSLTPROC
|
||||
|
||||
CLEANFILES += $(MANPAGES) $(MANPAGES_ALIASES)
|
||||
EXTRA_DIST += $(MANPAGES) $(MANPAGES_ALIASES) $(XML_FILES)
|
||||
man_MANS += $(MANPAGES) $(MANPAGES_ALIASES)
|
||||
|
||||
XSLTPROC_FLAGS = \
|
||||
--stringparam man.authors.section.enabled 0 \
|
||||
--stringparam man.copyright.section.enabled 0 \
|
||||
|
|
@ -42,4 +44,6 @@ XSLTPROC_PROCESS_MAN = \
|
|||
%.7: %.xml
|
||||
$(XSLTPROC_PROCESS_MAN)
|
||||
|
||||
wl_display_connect_to_fd.3: wl_display_connect.3
|
||||
|
||||
endif # HAVE_XSLTPROC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue