Add basic support for HTML->PDF conversion (uses htmldoc)

This commit is contained in:
Kurt Zeilenga 2005-03-29 23:59:04 +00:00
parent 7d531d1416
commit 3e0ac3bed2
2 changed files with 22 additions and 1 deletions

View File

@ -14,7 +14,7 @@
## <http://www.OpenLDAP.org/license.html>.
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

13
doc/guide/admin/admin.sdf Normal file
View File

@ -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"