## Makefile for OpenLDAP Administrator's Guide
# $OpenLDAP: pkg/openldap-guide/admin/Makefile,v 1.5.2.1 2007/02/13 20:22:04 kurt Exp $
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 2005-2007 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
all: guide.html index.html

sdf-src: \
	../plain.sdf \
	../preamble.sdf \
	abstract.sdf \
	config.sdf \
	dbtools.sdf \
	glossary.sdf \
	guide.sdf \
	install.sdf \
	intro.sdf \
	master.sdf \
	monitoringslapd.sdf \
	preface.sdf \
	proxycache.sdf \
	quickstart.sdf \
	referrals.sdf \
	replication.sdf \
	runningslapd.sdf \
	sasl.sdf \
	schema.sdf \
	security.sdf \
	slapdconfig.sdf \
	syncrepl.sdf \
	title.sdf \
	tls.sdf \
	tuning.sdf

sdf-img: \
	../images/LDAPlogo.gif \
	config_local.gif \
	config_ref.gif \
	config_repl.gif \
	config_x500fe.gif \
	config_x500ref.gif \
	intro_dctree.gif \
	intro_tree.gif \
	replication.gif

guide.html: guide.sdf sdf-src sdf-img
	sdf -2html guide.sdf

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
