summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 25c2643)
raw | patch | inline | side by side (parent: 25c2643)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 19 May 2014 18:21:17 +0000 (20:21 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 19 May 2014 18:21:17 +0000 (20:21 +0200) |
doc/Makefile.am | patch | blob | history | |
doc/sysdb-man.css | [new file with mode: 0644] | patch | blob |
diff --git a/doc/Makefile.am b/doc/Makefile.am
index feae549c17fb0effccc9ad0d622b2ea3dd068595..5b3127a3381ef5a8a1c9e0197b0cc1608705d0ea 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
ADOC_ATTRS = -apackage_version=$(PACKAGE_VERSION) \
-abuild_date="$$( date --utc '+%F' )" \
-alocalstatedir=$(localstatedir)
+HTML_ATTRS = --stylesheet=$(srcdir)/sysdb-man.css
sysdb.1: sysdb.1.txt ../version
sysdbd.1: sysdbd.1.txt ../version
.1.txt.1:
@A2X@ -d manpage -f manpage $(ADOC_ATTRS) $<
.1.txt.1.html:
- @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $<
+ @A2X@ -d manpage -f xhtml $(HTML_ATTRS) $(ADOC_ATTRS) $<
.5.txt.5:
@A2X@ -d manpage -f manpage $(ADOC_ATTRS) $<
.5.txt.5.html:
- @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $<
+ @A2X@ -d manpage -f xhtml $(HTML_ATTRS) $(ADOC_ATTRS) $<
.7.txt.7:
@A2X@ -d manpage -f manpage $(ADOC_ATTRS) $<
.7.txt.7.html:
- @A2X@ -d manpage -f xhtml $(ADOC_ATTRS) $<
+ @A2X@ -d manpage -f xhtml $(HTML_ATTRS) $(ADOC_ATTRS) $<
diff --git a/doc/sysdb-man.css b/doc/sysdb-man.css
--- /dev/null
+++ b/doc/sysdb-man.css
@@ -0,0 +1,30 @@
+/*
+ * SysDB - CSS stylesheet for manpages
+ */
+
+body {
+ margin: 1em 5% 1em 5%;
+ line-height: 1.2;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: #527bbd;
+ font-family: sans-serif;
+}
+
+body h1 {
+ border-bottom: 2px solid silver;
+}
+
+body h2 {
+ border-bottom: 2px solid silver;
+}
+
+body pre {
+ margin: 0.5em 10% 0.5em 1em;
+ line-height: 1.0;
+ color: navy;
+}
+
+/* vim: set tw=78 sw=4 ts=4 noexpandtab : */
+