From 454f34357b6c1a1d50f0710028e40ca57d97246a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 10 Jul 2014 22:59:54 +0200 Subject: [PATCH] Output the HTML documentation truly in the fashion of manual pages --- Makefile | 2 ++ doc/Makefile | 2 +- doc/manual.css.xml | 33 +++++++++++++++++++++++++++++++++ doc/presenter.css.xml | 7 +++++++ doc/project.conf | 4 ++-- 5 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 doc/manual.css.xml create mode 100644 doc/presenter.css.xml diff --git a/Makefile b/Makefile index ff35683..54b6c66 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,8 @@ dist: $(PACKAGE)-$(VERSION)/data/project.conf \ $(PACKAGE)-$(VERSION)/doc/Makefile \ $(PACKAGE)-$(VERSION)/doc/docbook.sh \ + $(PACKAGE)-$(VERSION)/doc/manual.css.xml \ + $(PACKAGE)-$(VERSION)/doc/presenter.css.xml \ $(PACKAGE)-$(VERSION)/doc/presenter.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/include/Presenter.h \ diff --git a/doc/Makefile b/doc/Makefile index aa245bd..70c37a4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -12,7 +12,7 @@ all: $(TARGETS) presenter.1: presenter.xml ./docbook.sh -P "$(PREFIX)" -- "presenter.1" -presenter.html: presenter.xml +presenter.html: manual.css.xml presenter.css.xml presenter.xml ./docbook.sh -P "$(PREFIX)" -- "presenter.html" clean: 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/presenter.css.xml b/doc/presenter.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/presenter.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/project.conf b/doc/project.conf index af8e566..74cd017 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ targets=presenter.1,presenter.html -dist=Makefile,docbook.sh,presenter.xml +dist=Makefile,docbook.sh,manual.css.xml,presenter.css.xml,presenter.xml [presenter.1] type=script @@ -11,4 +11,4 @@ depends=presenter.xml type=script script=./docbook.sh install= -depends=presenter.xml +depends=manual.css.xml,presenter.css.xml,presenter.xml