~darxus/+junk/wayland-packaging

« back to all changes in this revision

Viewing changes to doc/man/Makefile.am

  • Committer: Kristian Høgsberg
  • Author(s): David Herrmann
  • Date: 2012-09-26 16:28:22 UTC
  • Revision ID: git-v1:56ea2e793b155c6476ff55d876bd6bb2c5170720
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>

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
MANPAGES_ALIASES = \
10
10
        wl_display_connect_to_fd.3
11
11
 
12
 
wl_display_connect_to_fd.3: wl_display_connect.3
13
 
 
14
12
XML_FILES = \
15
13
        ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,$(MANPAGES)}}}}
16
 
CLEANFILES = $(MANPAGES) $(MANPAGES_ALIASES)
17
 
EXTRA_DIST = $(MANPAGES) $(MANPAGES_ALIASES) $(XML_FILES)
18
 
man_MANS = $(MANPAGES) $(MANPAGES_ALIASES)
 
14
CLEANFILES =
 
15
EXTRA_DIST =
 
16
man_MANS =
19
17
 
20
18
if HAVE_XSLTPROC
21
19
 
 
20
CLEANFILES += $(MANPAGES) $(MANPAGES_ALIASES)
 
21
EXTRA_DIST += $(MANPAGES) $(MANPAGES_ALIASES) $(XML_FILES)
 
22
man_MANS += $(MANPAGES) $(MANPAGES_ALIASES)
 
23
 
22
24
XSLTPROC_FLAGS = \
23
25
        --stringparam man.authors.section.enabled 0 \
24
26
        --stringparam man.copyright.section.enabled 0 \
42
44
%.7: %.xml
43
45
        $(XSLTPROC_PROCESS_MAN)
44
46
 
 
47
wl_display_connect_to_fd.3: wl_display_connect.3
 
48
 
45
49
endif # HAVE_XSLTPROC