summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-23 02:26:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-23 02:26:15 +0200
commitc6365917c4a96e31e2bffbea7bd976fe7d775517 (patch)
treec66cfe01b30377510971e75443931dbcbe9ceac9
parent9e632bf7b76ecefaadb3fa88f8a99aa2e7dc83b2 (diff)
man: generate ANSI prototypes in HTML man pages
-rw-r--r--Makefile.am22
1 files changed, 17 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 68b1bd14c1..e41ba48e24 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -576,22 +576,26 @@ CLEANFILES += \
endif
if HAVE_XSLTPROC
+XSLTPROC_FLAGS = \
+ --nonet \
+ --param funcsynopsis.style "'ansi'"
+
XSLTPROC_PROCESS_MAN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o $@ --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
XSLTPROC_PROCESS_MAN_IN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o ${@:.in=} --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
+ $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
mv ${@:.in=} $@
XSLTPROC_PROCESS_HTML = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o $@ --nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
+ $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
XSLTPROC_PROCESS_HTML_IN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
- $(XSLTPROC) -o ${@:.in=} --nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
+ $(XSLTPROC) -o ${@:.in=} $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
mv ${@:.in=} $@
man/%.3: man/%.xml
@@ -635,7 +639,15 @@ CLEANFILES += \
man/systemd.special.7.in \
man/systemd.unit.html \
man/systemd.service.html \
- man/systemd.special.html.in
+ man/systemd.special.html.in \
+ man/daemon.html \
+ man/runlevel.html \
+ man/sd_booted.html \
+ man/sd-daemon.html \
+ man/sd_is_fifo.html \
+ man/sd_listen_fds.html \
+ man/sd_notify.html \
+ man/systemd.html
endif
org.freedesktop.systemd1.%.xml: systemd