From 3b5bf30add80ef169d90c0596f61cdbca9926537 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 10 Jul 2014 22:46:46 +0200 Subject: [PATCH] Output the HTML documentation truly in the fashion of manual pages --- Makefile | 3 +++ doc/Makefile | 4 ++-- doc/locker.css.xml | 7 +++++++ doc/lockerctl.css.xml | 7 +++++++ doc/manual.css.xml | 33 +++++++++++++++++++++++++++++++++ doc/project.conf | 6 +++--- 6 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 doc/locker.css.xml create mode 100644 doc/lockerctl.css.xml create mode 100644 doc/manual.css.xml diff --git a/Makefile b/Makefile index f37aabd..57a4328 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,11 @@ dist: $(PACKAGE)-$(VERSION)/doc/docbook.sh \ $(PACKAGE)-$(VERSION)/doc/index.xml \ $(PACKAGE)-$(VERSION)/doc/index.xsl \ + $(PACKAGE)-$(VERSION)/doc/locker.css.xml \ $(PACKAGE)-$(VERSION)/doc/locker.xml \ + $(PACKAGE)-$(VERSION)/doc/lockerctl.css.xml \ $(PACKAGE)-$(VERSION)/doc/lockerctl.xml \ + $(PACKAGE)-$(VERSION)/doc/manual.css.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/include/Locker.h \ $(PACKAGE)-$(VERSION)/include/Makefile \ diff --git a/doc/Makefile b/doc/Makefile index b45a9ed..254971f 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -15,13 +15,13 @@ index.html: index.xml index.xsl locker.xml lockerctl.xml locker.1: locker.xml ./docbook.sh -P "$(PREFIX)" -- "locker.1" -locker.html: locker.xml +locker.html: locker.css.xml locker.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "locker.html" lockerctl.1: lockerctl.xml ./docbook.sh -P "$(PREFIX)" -- "lockerctl.1" -lockerctl.html: lockerctl.xml +lockerctl.html: lockerctl.css.xml lockerctl.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "lockerctl.html" clean: diff --git a/doc/locker.css.xml b/doc/locker.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/locker.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/lockerctl.css.xml b/doc/lockerctl.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/lockerctl.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 90bbb65..a6b1cc7 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ targets=index.html,locker.1,locker.html,lockerctl.1,lockerctl.html -dist=Makefile,docbook.sh,index.xml,index.xsl,locker.xml,lockerctl.xml +dist=Makefile,docbook.sh,index.xml,index.xsl,locker.css.xml,locker.xml,lockerctl.css.xml,lockerctl.xml,manual.css.xml [index.html] type=script @@ -16,7 +16,7 @@ depends=locker.xml type=script script=./docbook.sh install= -depends=locker.xml +depends=locker.css.xml,locker.xml,manual.css.xml [lockerctl.1] type=script @@ -28,4 +28,4 @@ depends=lockerctl.xml type=script script=./docbook.sh install= -depends=lockerctl.xml +depends=lockerctl.css.xml,lockerctl.xml,manual.css.xml