1## Makefile for OpenLDAP Administrator's Guide
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 2005-2021 The OpenLDAP Foundation.
6## All rights reserved.
7##
8## Redistribution and use in source and binary forms, with or without
9## modification, are permitted only as authorized by the OpenLDAP
10## Public License.
11##
12## A copy of this license is available in the file LICENSE in the
13## top-level directory of the distribution or, alternatively, at
14## <http://www.OpenLDAP.org/license.html>.
15all: guide.html index.html
16
17# for website building (for webmaster use, don't change)
18www: guide.html booktitle.html index.html OpenLDAP-Admin-Guide.pdf
19
20sdf-src: \
21          ../plain.sdf \
22          ../preamble.sdf \
23          abstract.sdf \
24          access-control.sdf \
25          appendix-changes.sdf \
26          appendix-common-errors.sdf \
27          appendix-configs.sdf \
28          appendix-contrib.sdf \
29          appendix-deployments.sdf \
30          appendix-ldap-result-codes.sdf \
31          appendix-recommended-versions.sdf \
32          appendix-upgrading.sdf \
33          backends.sdf \
34          config.sdf \
35          dbtools.sdf \
36          glossary.sdf \
37          guide.sdf \
38          install.sdf \
39          intro.sdf \
40          maintenance.sdf \
41          master.sdf \
42          monitoringslapd.sdf \
43          overlays.sdf \
44          preface.sdf \
45          quickstart.sdf \
46          referrals.sdf \
47          replication.sdf \
48          runningslapd.sdf \
49          sasl.sdf \
50          schema.sdf \
51          security.sdf \
52          slapdconfig.sdf \
53          title.sdf \
54          tls.sdf \
55          troubleshooting.sdf \
56          tuning.sdf
57
58sdf-img: \
59          ../images/LDAPlogo.gif \
60          allmail-en.png \
61          allusersgroup-en.png \
62          config_dit.png \
63          config_local.png \
64          config_ref.png \
65          config_repl.png \
66          delta-syncrepl.png \
67          dual_dc.png \
68          intro_dctree.png \
69          intro_tree.png \
70          ldap-sync-refreshandpersist.png \
71          ldap-sync-refreshonly.png \
72          n-way-multi-provider.png \
73          push-based-complete.png \
74          push-based-standalone.png \
75          refint.png \
76          set-following-references.png \
77          set-memberUid.png \
78          set-recursivegroup.png
79
80guide.html: guide.sdf sdf-src sdf-img
81          sdf -2html guide.sdf
82
83index.html: index.sdf sdf-src sdf-img
84          sdf -2topics index.sdf
85
86admin.html: admin.sdf sdf-src sdf-img
87          sdf -DPDF -2html admin.sdf
88
89booktitle.html: booktitle.sdf
90          sdf -2html booktitle.sdf
91
92guide.pdf: admin.html booktitle.html guide.book
93          htmldoc --batch guide.book -f guide.pdf
94
95OpenLDAP-Admin-Guide.pdf: admin.html guide.book
96          htmldoc --batch guide.book -f OpenLDAP-Admin-Guide.pdf
97
98clean:
99          rm -f *.pdf *.html *~ *.bak
100