From 8b6a45c6e959bfa6d237d45ff95f9a9c9f77a2d9 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 8 Jul 2014 00:46:52 +0200 Subject: [PATCH] Output the HTML documentation truly in the fashion of manual pages --- Makefile | 3 +++ doc/Makefile | 4 ++-- doc/camera.css.xml | 7 +++++++ doc/gallery.css.xml | 7 +++++++ doc/manual.css.xml | 33 +++++++++++++++++++++++++++++++++ doc/project.conf | 6 +++--- 6 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 doc/camera.css.xml create mode 100644 doc/gallery.css.xml create mode 100644 doc/manual.css.xml diff --git a/Makefile b/Makefile index 3c56730..42f030b 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,11 @@ dist: $(PACKAGE)-$(VERSION)/data/project.conf \ $(PACKAGE)-$(VERSION)/doc/Makefile \ $(PACKAGE)-$(VERSION)/doc/docbook.sh \ + $(PACKAGE)-$(VERSION)/doc/camera.css.xml \ $(PACKAGE)-$(VERSION)/doc/camera.xml \ + $(PACKAGE)-$(VERSION)/doc/gallery.css.xml \ $(PACKAGE)-$(VERSION)/doc/gallery.xml \ + $(PACKAGE)-$(VERSION)/doc/manual.css.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/po/Makefile \ $(PACKAGE)-$(VERSION)/po/gettext.sh \ diff --git a/doc/Makefile b/doc/Makefile index 4908af9..8475641 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -12,13 +12,13 @@ all: $(TARGETS) camera.1: camera.xml ./docbook.sh -P "$(PREFIX)" -- "camera.1" -camera.html: camera.xml +camera.html: camera.css.xml camera.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "camera.html" gallery.1: gallery.xml ./docbook.sh -P "$(PREFIX)" -- "gallery.1" -gallery.html: gallery.xml +gallery.html: gallery.css.xml gallery.xml manual.css.xml ./docbook.sh -P "$(PREFIX)" -- "gallery.html" clean: diff --git a/doc/camera.css.xml b/doc/camera.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/camera.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/gallery.css.xml b/doc/gallery.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/gallery.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 e07e80a..f141c11 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ targets=camera.1,camera.html,gallery.1,gallery.html -dist=Makefile,docbook.sh,camera.xml,gallery.xml +dist=Makefile,docbook.sh,camera.css.xml,camera.xml,gallery.css.xml,gallery.xml,manual.css.xml [camera.1] type=script @@ -11,7 +11,7 @@ depends=camera.xml type=script script=./docbook.sh install= -depends=camera.xml +depends=camera.css.xml,camera.xml,manual.css.xml [gallery.1] type=script @@ -23,4 +23,4 @@ depends=gallery.xml type=script script=./docbook.sh install= -depends=gallery.xml +depends=gallery.css.xml,gallery.xml,manual.css.xml