aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/Makefile
blob: 8ea2a887c0f46c6e4200e5200369b95d06d6ef0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# 
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.47 2001/08/23 07:59:06 murray Exp $
#
# Build the FreeBSD Handbook.
#

# ------------------------------------------------------------------------
#
# Handbook-specific variables
#
#	WITH_PGPKEYS	The print version of the handbook only prints PGP
#			fingerprints by default.  If you would like for the
#			entire key to be displayed, then set this variable.
#			This option has no affect on the HTML formats.
#			
# Handbook-specific targets
#
#       pgpkeyring      This target will read the contents of
#                       pgpkeys/chapter.sgml and will extract all of
#                       the pgpkeys to standard out.  This output can then
#                       be redirected into a file and distributed as a 
#                       public keyring of FreeBSD developers that can
#                       easily be imported into PGP/GPG.
#
# ------------------------------------------------------------------------

MAINTAINER=nik@FreeBSD.org

DOC?= book

FORMATS?= html-split

INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=

IMAGES = advanced-networking/isdn-bus.eps
IMAGES+= advanced-networking/isdn-twisted-pair.eps
IMAGES+= advanced-networking/natd.eps
IMAGES+= install/userconfig.scr
IMAGES+= install/userconfig2.scr
IMAGES+= install/hdwrconf.scr
IMAGES+= install/probstart.scr
IMAGES+= install/main1.scr
IMAGES+= install/sysinstall-exit.scr
IMAGES+= install/main-doc.scr
IMAGES+= install/docmenu1.scr
IMAGES+= install/main-keymap.scr
IMAGES+= install/keymap.scr
IMAGES+= install/main-options.scr
IMAGES+= install/options.scr
IMAGES+= install/main-std.scr
IMAGES+= install/fdisk-drive1.scr
IMAGES+= install/fdisk-edit1.scr
IMAGES+= install/fdisk-edit2.scr
IMAGES+= install/boot-mgr.scr
IMAGES+= install/fdisk-drive2.scr
IMAGES+= install/disklabel-ed1.scr
IMAGES+= install/disklabel-auto.scr
IMAGES+= install/disklabel-root1.scr
IMAGES+= install/disklabel-root2.scr
IMAGES+= install/disklabel-fs.scr
IMAGES+= install/disklabel-root3.scr
IMAGES+= install/disklabel-ed2.scr
IMAGES+= install/dist-set.scr
IMAGES+= install/dist-set2.scr
IMAGES+= install/media.scr
IMAGES+= install/ed0-conf.scr
IMAGES+= install/ed0-conf2.scr
IMAGES+= install/ftp-anon1.scr
IMAGES+= install/ftp-anon2.scr
IMAGES+= install/nfs-server-edit.scr
IMAGES+= install/security.scr
IMAGES+= install/console-saver1.scr
IMAGES+= install/console-saver2.scr
IMAGES+= install/console-saver3.scr
IMAGES+= install/console-saver4.scr
IMAGES+= install/timezone1.scr
IMAGES+= install/timezone2.scr
IMAGES+= install/timezone3.scr
IMAGES+= install/mouse1.scr
IMAGES+= install/mouse2.scr
IMAGES+= install/mouse3.scr
IMAGES+= install/mouse4.scr
IMAGES+= install/mouse5.scr
IMAGES+= install/mouse6.scr
IMAGES+= install/xf86setup.scr
IMAGES+= install/desktop.scr
IMAGES+= install/pkg-cat.scr
IMAGES+= install/pkg-sel.scr
IMAGES+= install/pkg-install.scr
IMAGES+= install/pkg-confirm.scr
IMAGES+= install/adduser1.scr
IMAGES+= install/adduser2.scr
IMAGES+= install/adduser3.scr
IMAGES+= install/mainexit.scr
IMAGES+= install/disk-layout.eps
IMAGES+= install/edit-inetd-conf.scr

# 
# SRCS lists the individual SGML files that make up the document. Changes
# to any of these files will force a rebuild
#

# SGML content
SRCS=  book.sgml
SRCS+= advanced-networking/chapter.sgml
SRCS+= backups/chapter.sgml
SRCS+= basics/chapter.sgml
SRCS+= bibliography/chapter.sgml
SRCS+= config/chapter.sgml
SRCS+= boot/chapter.sgml
SRCS+= contrib/chapter.sgml
SRCS+= cutting-edge/chapter.sgml
SRCS+= disks/chapter.sgml
SRCS+= eresources/chapter.sgml
SRCS+= install/chapter.sgml
SRCS+= introduction/chapter.sgml
SRCS+= kernelconfig/chapter.sgml
SRCS+= l10n/chapter.sgml
SRCS+= linuxemu/chapter.sgml
SRCS+= mail/chapter.sgml
SRCS+= mirrors/chapter.sgml
SRCS+= pgpkeys/chapter.sgml
SRCS+= ppp-and-slip/chapter.sgml
SRCS+= printing/chapter.sgml
SRCS+= security/chapter.sgml
SRCS+= serialcomms/chapter.sgml
SRCS+= sound/chapter.sgml
SRCS+= users/chapter.sgml
SRCS+= x11/chapter.sgml
SRCS+= ports/chapter.sgml
SRCS+= colophon.sgml

# Entities
SRCS+= chapters.ent 

SYMLINKS=	${DESTDIR} index.html handbook.html

# Turn on all the chapters.
CHAPTERS?= ${SRCS:M*chapter.sgml}

SGMLFLAGS+= ${CHAPTERS:S/\/chapter.sgml//:S/^/-i chap./}

# XXX The Handbook build currently overflows some internal, hardcoded 
# limits in pdftex.  Until we split the Handbook up, build the PDF 
# version using ps2pdf instead of pdftex.

book.tex-pdf:
	touch book.tex-pdf

book.pdf: book.ps
	ps2pdf book.ps book.pdf

pgpkeyring: pgpkeys/chapter.sgml
	@${JADE} -V nochunks ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}

DOC_PREFIX?= ${.CURDIR}/../../..

#
# Handbook-specific variables
#
.if defined(WITH_PGPKEYS)
JADEFLAGS+=	-V withpgpkeys
.endif

.include "${DOC_PREFIX}/share/mk/doc.project.mk"