diff options
author | Daniel Mack <github@zonque.org> | 2016-01-26 09:39:56 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-01-26 09:39:56 +0100 |
commit | afb3e6335a7e75afa24db9dff6860f45f0fcc940 (patch) | |
tree | 1d72ba6d38ac6cfdf211019e69c849fe61e928ba /Makefile.am | |
parent | 709a7eb803f8e24eed35d6f5a0d9e6de0c753510 (diff) | |
parent | 6a089ddddd2d4a2b8ef99989d4be6e476883d088 (diff) |
Merge pull request #2434 from keszybz/man-pages
Man pages
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 4218a6dcdf..1f204b826c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6043,11 +6043,12 @@ XSLTPROC_FLAGS = \ --stringparam systemd.version $(VERSION) \ --path '$(builddir)/man:$(srcdir)/man' +XSLT = $(if $(XSLTPROC), $(XSLTPROC), xsltproc) XSLTPROC_PROCESS_MAN = \ - $(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $< + $(AM_V_XSLT)$(XSLT) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-man.xsl $< XSLTPROC_PROCESS_HTML = \ - $(AM_V_XSLT)$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< + $(AM_V_XSLT)$(XSLT) -o $@ $(XSLTPROC_FLAGS) $(srcdir)/man/custom-html.xsl $< man/%.1: man/%.xml man/custom-man.xsl man/custom-entities.ent $(XSLTPROC_PROCESS_MAN) |