From 702f64b93cb215d43f673dd4b2f3646b879c566e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 12 Mar 2013 23:57:09 -0400 Subject: [PATCH] man,html: say 'systemd 198' in the header This should help readers of the man or HTML pages know if the documentation is out of date. An alternative to use a date generated from 'git log' was considered, but since we try to keep user visible documentation up to date, showing the project version should be enough. --- Makefile.am | 4 ++-- man/custom-html.xsl | 5 +++++ man/custom-man.xsl | 24 ++++++++++++++++++++++++ src/python-systemd/docs/layout.html | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 25e0ab430..cfcca7c88 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3680,9 +3680,9 @@ XSLTPROC_FLAGS = \ --nonet \ --stringparam man.output.quietly 1 \ --stringparam funcsynopsis.style ansi \ - --stringparam man.th.extra1.suppress 1 \ --stringparam man.authors.section.enabled 0 \ - --stringparam man.copyright.section.enabled 0 + --stringparam man.copyright.section.enabled 0 \ + --stringparam systemd.version $(VERSION) XSLTPROC_PROCESS_MAN = \ $(AM_V_XSLT)$(MKDIR_P) $(dir $@) && \ diff --git a/man/custom-html.xsl b/man/custom-html.xsl index c612baf4d..c4099b26b 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -65,6 +65,11 @@ gudev + + + systemd + +
diff --git a/man/custom-man.xsl b/man/custom-man.xsl index 4d9d08e00..753e5715e 100644 --- a/man/custom-man.xsl +++ b/man/custom-man.xsl @@ -28,4 +28,28 @@ + + + + + + + + + .TH " + + + + + + " " + + " "" "systemd + + " " + + " + + + diff --git a/src/python-systemd/docs/layout.html b/src/python-systemd/docs/layout.html index 78989143e..be5ff980e 100644 --- a/src/python-systemd/docs/layout.html +++ b/src/python-systemd/docs/layout.html @@ -6,7 +6,7 @@ Python · libudev · gudev - systemd v. {{release}} + systemd {{release}}
{% endblock %} -- 2.30.2