From a0e5a6f631467a0846f1d6212e5cf02166c6890a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 10 Jul 2014 22:53:01 +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/pdfviewer.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/pdfviewer.css.xml diff --git a/Makefile b/Makefile index 468c3f4..79af0b8 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/pdfviewer.css.xml \ $(PACKAGE)-$(VERSION)/doc/pdfviewer.xml \ $(PACKAGE)-$(VERSION)/doc/project.conf \ $(PACKAGE)-$(VERSION)/po/Makefile \ diff --git a/doc/Makefile b/doc/Makefile index 1547aa7..58408cd 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -12,7 +12,7 @@ all: $(TARGETS) pdfviewer.1: pdfviewer.xml ./docbook.sh -P "$(PREFIX)" -- "pdfviewer.1" -pdfviewer.html: pdfviewer.xml +pdfviewer.html: manual.css.xml pdfviewer.css.xml pdfviewer.xml ./docbook.sh -P "$(PREFIX)" -- "pdfviewer.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/pdfviewer.css.xml b/doc/pdfviewer.css.xml new file mode 100644 index 0000000..08d8dd3 --- /dev/null +++ b/doc/pdfviewer.css.xml @@ -0,0 +1,7 @@ + + + +]> + + diff --git a/doc/project.conf b/doc/project.conf index e8094ae..e7b150b 100644 --- a/doc/project.conf +++ b/doc/project.conf @@ -1,5 +1,5 @@ targets=pdfviewer.1,pdfviewer.html -dist=Makefile,docbook.sh,pdfviewer.xml +dist=Makefile,docbook.sh,manual.css.xml,pdfviewer.css.xml,pdfviewer.xml [pdfviewer.1] type=script @@ -11,4 +11,4 @@ depends=pdfviewer.xml type=script script=./docbook.sh install= -depends=pdfviewer.xml +depends=manual.css.xml,pdfviewer.css.xml,pdfviewer.xml