From 3e0ac3bed2a7bc1255f40d243152c72490cc638b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 29 Mar 2005 23:59:04 +0000 Subject: [PATCH] Add basic support for HTML->PDF conversion (uses htmldoc) --- doc/guide/admin/Makefile | 10 +++++++++- doc/guide/admin/admin.sdf | 13 +++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 doc/guide/admin/admin.sdf diff --git a/doc/guide/admin/Makefile b/doc/guide/admin/Makefile index af694653ae..5f5fabef53 100644 --- a/doc/guide/admin/Makefile +++ b/doc/guide/admin/Makefile @@ -14,7 +14,7 @@ ## . all: guide.html index.html -sdf-src: Makefile \ +sdf-src: \ ../plain.sdf \ ../preamble.sdf \ abstract.sdf \ @@ -56,3 +56,11 @@ guide.html: guide.sdf sdf-src sdf-img index.html: index.sdf sdf-src sdf-img sdf -2topics index.sdf + +admin.html: admin.sdf sdf-src sdf-img + sdf -DPDF -2html admin.sdf + +guide.pdf: admin.html + htmldoc --book --duplex --bottom 36 --top 36 \ + --toclevels 2 \ + -f guide.pdf admin.html diff --git a/doc/guide/admin/admin.sdf b/doc/guide/admin/admin.sdf new file mode 100644 index 0000000000..fef7617674 --- /dev/null +++ b/doc/guide/admin/admin.sdf @@ -0,0 +1,13 @@ +# $OpenLDAP$ +# Copyright 1999-2005, The OpenLDAP Foundation, All Rights Reserved. +# COPYING RESTRICTIONS APPLY, see COPYRIGHT. +# +# guide.sdf +# + +!define DOC_TOC 0 + +!macro build_html_cover +!endmacro + +!include "master.sdf" -- 2.39.5