From 7827411b4334f8c07ec25bc91d927b8d7c3704e5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 29 May 2014 16:31:13 +0200 Subject: [PATCH] Using the new CSS for manual pages --- Makefile | 3 +++ doc/AppBroker.css.xml | 7 +++++++ doc/AppClient.css.xml | 7 +++++++ doc/Makefile | 4 ++-- doc/docbook.sh | 1 + doc/manual.css.xml | 33 +++++++++++++++++++++++++++++++++ doc/project.conf | 6 +++--- 7 files changed, 56 insertions(+), 5 deletions(-) create mode 100644 doc/AppBroker.css.xml create mode 100644 doc/AppClient.css.xml create mode 100644 doc/manual.css.xml diff --git a/Makefile b/Makefile index dbe2fdd..1150041 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,13 @@ dist: $(PACKAGE)-$(VERSION)/data/pkgconfig.sh \ $(PACKAGE)-$(VERSION)/data/project.conf \ $(PACKAGE)-$(VERSION)/doc/Makefile \ + $(PACKAGE)-$(VERSION)/doc/AppBroker.css.xml \ $(PACKAGE)-$(VERSION)/doc/AppBroker.xml \ + $(PACKAGE)-$(VERSION)/doc/AppClient.css.xml \ $(PACKAGE)-$(VERSION)/doc/AppClient.xml \ $(PACKAGE)-$(VERSION)/doc/docbook.sh \ $(PACKAGE)-$(VERSION)/doc/gtkdoc.sh \ + $(PACKAGE)-$(VERSION)/doc/manual.css.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/doc/gtkdoc/Makefile \ $(PACKAGE)-$(VERSION)/doc/gtkdoc/libApp-docs.xml \ diff --git a/doc/AppBroker.css.xml b/doc/AppBroker.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/AppBroker.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/AppClient.css.xml b/doc/AppClient.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/AppClient.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/Makefile b/doc/Makefile index 1d8e520..388963b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -16,13 +16,13 @@ subdirs: AppBroker.1: AppBroker.xml ./docbook.sh -P "$(PREFIX)" -- "AppBroker.1" -AppBroker.html: AppBroker.xml +AppBroker.html: AppBroker.css.xml AppBroker.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "AppBroker.html" AppClient.1: AppClient.xml ./docbook.sh -P "$(PREFIX)" -- "AppClient.1" -AppClient.html: AppClient.xml +AppClient.html: AppClient.css.xml AppClient.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "AppClient.html" gtkdoc/libApp.types: diff --git a/doc/docbook.sh b/doc/docbook.sh index a53b3d4..0caaa39 100755 --- a/doc/docbook.sh +++ b/doc/docbook.sh @@ -58,6 +58,7 @@ _docbook() html) XSL="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" [ -f "${target%.*}.xsl" ] && XSL="${target%.*}.xsl" + [ -f "${target%.*}.css.xml" ] && XSLTPROC="$XSLTPROC --param custom.css.source \"${target%.*}.css.xml\" --param generate.css.header 1" $DEBUG $XSLTPROC -o "$target" "$XSL" "$source" ;; pdf) 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 922923b..0b65924 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,6 +1,6 @@ subdirs=gtkdoc targets=AppBroker.1,AppBroker.html,AppClient.1,AppClient.html,gtkdoc/libApp.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp -dist=Makefile,AppBroker.xml,AppClient.xml,docbook.sh,gtkdoc.sh +dist=Makefile,AppBroker.css.xml,AppBroker.xml,AppClient.css.xml,AppClient.xml,docbook.sh,gtkdoc.sh,manual.css.xml [AppBroker.1] type=script @@ -11,7 +11,7 @@ install= [AppBroker.html] type=script script=./docbook.sh -depends=AppBroker.xml +depends=AppBroker.css.xml,AppBroker.xml,manual.css.xml install= [AppClient.1] @@ -23,7 +23,7 @@ depends=AppClient.xml [AppClient.html] type=script script=./docbook.sh -depends=AppClient.xml +depends=AppClient.css.xml,AppClient.xml,manual.css.xml #install= [gtkdoc/libApp.types]