From 1827ff60bdcc70d066990b78c6cb44e41e72b432 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 10 Jul 2014 22:38:10 +0200 Subject: [PATCH] Output the HTML documentation truly in the fashion of manual pages --- Makefile | 3 +++ doc/Makefile | 4 ++-- doc/compose.css.xml | 7 +++++++ doc/mailer.css.xml | 7 +++++++ doc/manual.css.xml | 33 +++++++++++++++++++++++++++++++++ doc/project.conf | 6 +++--- 6 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 doc/compose.css.xml create mode 100644 doc/mailer.css.xml create mode 100644 doc/manual.css.xml diff --git a/Makefile b/Makefile index 17cd7e9..f70bbb6 100644 --- a/Makefile +++ b/Makefile @@ -49,10 +49,13 @@ dist: $(PACKAGE)-$(VERSION)/data/48x48/mailer-sent.png \ $(PACKAGE)-$(VERSION)/data/48x48/project.conf \ $(PACKAGE)-$(VERSION)/doc/Makefile \ + $(PACKAGE)-$(VERSION)/doc/compose.css.xml \ $(PACKAGE)-$(VERSION)/doc/compose.xml \ $(PACKAGE)-$(VERSION)/doc/docbook.sh \ $(PACKAGE)-$(VERSION)/doc/gtkdoc.sh \ + $(PACKAGE)-$(VERSION)/doc/mailer.css.xml \ $(PACKAGE)-$(VERSION)/doc/mailer.xml \ + $(PACKAGE)-$(VERSION)/doc/manual.css.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/doc/gtkdoc/Makefile \ $(PACKAGE)-$(VERSION)/doc/gtkdoc/Mailer-docs.xml \ diff --git a/doc/Makefile b/doc/Makefile index 9552349..6c7dbdd 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -16,7 +16,7 @@ subdirs: compose.1: compose.xml ./docbook.sh -P "$(PREFIX)" -- "compose.1" -compose.html: compose.xml +compose.html: compose.css.xml compose.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "compose.html" gtkdoc/Mailer.types: ../config.sh @@ -34,7 +34,7 @@ gtkdoc/html.stamp: gtkdoc/Mailer-docs.xml gtkdoc/sgml.stamp mailer.1: mailer.xml ./docbook.sh -P "$(PREFIX)" -- "mailer.1" -mailer.html: mailer.xml +mailer.html: mailer.css.xml mailer.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "mailer.html" clean: diff --git a/doc/compose.css.xml b/doc/compose.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/compose.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/mailer.css.xml b/doc/mailer.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/mailer.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/manual.css.xml b/doc/manual.css.xml new file mode 100644 index 0000000..44af16b --- /dev/null +++ b/doc/manual.css.xml @@ -0,0 +1,33 @@ + + diff --git a/doc/project.conf b/doc/project.conf index cda3f8e..067b27e 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,6 +1,6 @@ subdirs=gtkdoc targets=compose.1,compose.html,gtkdoc/Mailer.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp,mailer.1,mailer.html -dist=Makefile,compose.xml,docbook.sh,gtkdoc.sh,mailer.xml +dist=Makefile,compose.css.xml,compose.xml,docbook.sh,gtkdoc.sh,mailer.css.xml,mailer.xml,manual.css.xml [compose.1] type=script @@ -11,7 +11,7 @@ install= [compose.html] type=script script=./docbook.sh -depends=compose.xml +depends=compose.css.xml,compose.xml,manual.css.xml install= [gtkdoc/Mailer.types] @@ -44,5 +44,5 @@ install= [mailer.html] type=script script=./docbook.sh -depends=mailer.xml +depends=mailer.css.xml,mailer.xml,manual.css.xml install=