]> git.sur5r.net Git - openldap/commitdiff
Add basic support for HTML->PDF conversion (uses htmldoc)
authorKurt Zeilenga <kurt@openldap.org>
Tue, 29 Mar 2005 23:59:04 +0000 (23:59 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 29 Mar 2005 23:59:04 +0000 (23:59 +0000)
doc/guide/admin/Makefile
doc/guide/admin/admin.sdf [new file with mode: 0644]

index af694653ae715e4a268ab0c2c64c19aa479f4eb4..5f5fabef534dc59ce1b9bedd2df5ad79567b86bd 100644 (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
diff --git a/doc/guide/admin/admin.sdf b/doc/guide/admin/admin.sdf
new file mode 100644 (file)
index 0000000..fef7617
--- /dev/null
@@ -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"