"Fossies" - the Fresh Open Source Software Archive

Member "wayland-1.18.0/doc/man/Makefile.am" (11 Feb 2020, 1246 Bytes) of package /linux/misc/wayland-1.18.0.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 1.17.0_vs_1.18.0.

    1 #
    2 # This generates man-pages out of the Docbook XML files. Simply add your files
    3 # to the $MANPAGES array. If aliases are created, please add them to the
    4 # MANPAGES_ALIASES array so they get installed correctly.
    5 #
    6 
    7 MANPAGES = \
    8 	wl_display_connect.3
    9 MANPAGES_ALIASES = \
   10 	wl_display_connect_to_fd.3
   11 
   12 XML_FILES = \
   13 	${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,$(MANPAGES)}}}}
   14 CLEANFILES =
   15 EXTRA_DIST = $(XML_FILES)
   16 
   17 if HAVE_XSLTPROC
   18 
   19 CLEANFILES += $(MANPAGES) $(MANPAGES_ALIASES)
   20 EXTRA_DIST += $(MANPAGES) $(MANPAGES_ALIASES)
   21 dist_man_MANS = $(MANPAGES) $(MANPAGES_ALIASES)
   22 
   23 XSLTPROC_FLAGS = \
   24 	--stringparam man.authors.section.enabled 0 \
   25 	--stringparam man.copyright.section.enabled 0 \
   26 	--stringparam funcsynopsis.style ansi \
   27 	--stringparam man.output.quietly 1 \
   28 	--nonet
   29 
   30 XSLTPROC_PROCESS_MAN = \
   31 	$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
   32 	$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCS_STYLESHEET) $< && \
   33 	$(SED) -i -e 's/^\.so \(.*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES)
   34 
   35 %.1: %.xml
   36 	$(XSLTPROC_PROCESS_MAN)
   37 
   38 %.3: %.xml
   39 	$(XSLTPROC_PROCESS_MAN)
   40 
   41 %.5: %.xml
   42 	$(XSLTPROC_PROCESS_MAN)
   43 
   44 %.7: %.xml
   45 	$(XSLTPROC_PROCESS_MAN)
   46 
   47 wl_display_connect_to_fd.3: wl_display_connect.3
   48 
   49 endif # HAVE_XSLTPROC