2002-07-29 19:53:40 +02:00
|
|
|
# The FreeBSD Documentation Project
|
|
|
|
# The FreeBSD French Documentation Project
|
1999-11-10 22:29:15 +01:00
|
|
|
#
|
2002-07-29 19:53:40 +02:00
|
|
|
# $FreeBSD$
|
2005-12-22 16:26:31 +01:00
|
|
|
# Original revision: 1.95 manque 1.91, 1.94 partiel
|
1999-11-10 22:29:15 +01:00
|
|
|
#
|
2002-07-29 19:53:40 +02:00
|
|
|
# Build the FreeBSD Handbook.
|
1999-11-10 22:29:15 +01:00
|
|
|
#
|
|
|
|
|
2002-07-29 19:53:40 +02:00
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# 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
|
1999-11-10 22:29:15 +01:00
|
|
|
#
|
2002-07-29 19:53:40 +02:00
|
|
|
# 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.
|
1999-11-10 22:29:15 +01:00
|
|
|
#
|
2002-07-29 19:53:40 +02:00
|
|
|
# ------------------------------------------------------------------------
|
2004-08-01 18:46:23 +02:00
|
|
|
.PATH: ${.CURDIR}/../../share/sgml/glossary
|
2002-07-29 19:53:40 +02:00
|
|
|
|
|
|
|
MAINTAINER=blackend@FreeBSD.org
|
1999-11-10 22:29:15 +01:00
|
|
|
|
|
|
|
DOC?= book
|
|
|
|
|
|
|
|
FORMATS?= html-split
|
|
|
|
|
2002-07-29 19:53:40 +02:00
|
|
|
HAS_INDEX= true
|
2006-04-17 19:49:24 +02:00
|
|
|
USE_PS2PDF= yes
|
2002-07-29 19:53:40 +02:00
|
|
|
|
1999-11-10 22:29:15 +01:00
|
|
|
INSTALL_COMPRESSED?= gz
|
|
|
|
INSTALL_ONLY_COMPRESSED?=
|
|
|
|
|
2003-12-27 16:49:59 +01:00
|
|
|
IMAGES = advanced-networking/isdn-bus.eps
|
|
|
|
IMAGES+= advanced-networking/isdn-twisted-pair.eps
|
|
|
|
IMAGES+= advanced-networking/natd.eps
|
2004-01-10 11:01:25 +01:00
|
|
|
IMAGES+= advanced-networking/net-routing.pic
|
2004-08-01 18:46:23 +02:00
|
|
|
IMAGES_EN+= advanced-networking/static-routes.pic
|
2005-12-22 16:26:31 +01:00
|
|
|
IMAGES_EN+= geom/striping.pic
|
2003-12-20 09:02:44 +01:00
|
|
|
IMAGES_EN+= install/userconfig.scr
|
2003-04-11 11:21:15 +02:00
|
|
|
IMAGES_EN+= install/userconfig2.scr
|
|
|
|
IMAGES_EN+= install/hdwrconf.scr
|
|
|
|
IMAGES_EN+= install/probstart.scr
|
|
|
|
IMAGES_EN+= install/main1.scr
|
|
|
|
IMAGES_EN+= install/sysinstall-exit.scr
|
|
|
|
IMAGES_EN+= install/main-doc.scr
|
|
|
|
IMAGES_EN+= install/docmenu1.scr
|
|
|
|
IMAGES_EN+= install/main-keymap.scr
|
|
|
|
IMAGES_EN+= install/keymap.scr
|
|
|
|
IMAGES_EN+= install/main-options.scr
|
|
|
|
IMAGES_EN+= install/options.scr
|
|
|
|
IMAGES_EN+= install/main-std.scr
|
|
|
|
IMAGES_EN+= install/fdisk-drive1.scr
|
|
|
|
IMAGES_EN+= install/fdisk-edit1.scr
|
|
|
|
IMAGES_EN+= install/fdisk-edit2.scr
|
|
|
|
IMAGES_EN+= install/boot-mgr.scr
|
|
|
|
IMAGES_EN+= install/fdisk-drive2.scr
|
|
|
|
IMAGES_EN+= install/disklabel-ed1.scr
|
|
|
|
IMAGES_EN+= install/disklabel-auto.scr
|
|
|
|
IMAGES_EN+= install/disklabel-root1.scr
|
|
|
|
IMAGES_EN+= install/disklabel-root2.scr
|
|
|
|
IMAGES_EN+= install/disklabel-fs.scr
|
|
|
|
IMAGES_EN+= install/disklabel-root3.scr
|
|
|
|
IMAGES_EN+= install/disklabel-ed2.scr
|
|
|
|
IMAGES_EN+= install/dist-set.scr
|
|
|
|
IMAGES_EN+= install/dist-set2.scr
|
|
|
|
IMAGES_EN+= install/media.scr
|
|
|
|
IMAGES_EN+= install/ed0-conf.scr
|
|
|
|
IMAGES_EN+= install/ed0-conf2.scr
|
|
|
|
IMAGES_EN+= install/ftp-anon1.scr
|
|
|
|
IMAGES_EN+= install/ftp-anon2.scr
|
|
|
|
IMAGES_EN+= install/nfs-server-edit.scr
|
|
|
|
IMAGES_EN+= install/security.scr
|
|
|
|
IMAGES_EN+= install/console-saver1.scr
|
|
|
|
IMAGES_EN+= install/console-saver2.scr
|
|
|
|
IMAGES_EN+= install/console-saver3.scr
|
|
|
|
IMAGES_EN+= install/console-saver4.scr
|
|
|
|
IMAGES_EN+= install/timezone1.scr
|
|
|
|
IMAGES_EN+= install/timezone2.scr
|
|
|
|
IMAGES_EN+= install/timezone3.scr
|
|
|
|
IMAGES_EN+= install/mouse1.scr
|
|
|
|
IMAGES_EN+= install/mouse2.scr
|
|
|
|
IMAGES_EN+= install/mouse3.scr
|
|
|
|
IMAGES_EN+= install/mouse4.scr
|
|
|
|
IMAGES_EN+= install/mouse5.scr
|
|
|
|
IMAGES_EN+= install/mouse6.scr
|
|
|
|
IMAGES_EN+= install/xf86setup.scr
|
|
|
|
IMAGES_EN+= install/desktop.scr
|
|
|
|
IMAGES_EN+= install/pkg-cat.scr
|
|
|
|
IMAGES_EN+= install/pkg-sel.scr
|
|
|
|
IMAGES_EN+= install/pkg-install.scr
|
|
|
|
IMAGES_EN+= install/pkg-confirm.scr
|
|
|
|
IMAGES_EN+= install/adduser1.scr
|
|
|
|
IMAGES_EN+= install/adduser2.scr
|
|
|
|
IMAGES_EN+= install/adduser3.scr
|
|
|
|
IMAGES_EN+= install/mainexit.scr
|
2003-11-20 21:02:10 +01:00
|
|
|
IMAGES+= install/disk-layout.eps
|
2003-04-11 11:21:15 +02:00
|
|
|
IMAGES_EN+= install/edit-inetd-conf.scr
|
2003-11-30 12:22:47 +01:00
|
|
|
IMAGES_EN+= install/mta-main.scr
|
|
|
|
IMAGES_EN+= install/net-config-menu1.scr
|
|
|
|
IMAGES_EN+= install/net-config-menu2.scr
|
|
|
|
IMAGES_EN+= install/ntp-config.scr
|
|
|
|
IMAGES_EN+= install/routed.scr
|
2002-07-29 19:53:40 +02:00
|
|
|
|
2003-08-10 16:41:10 +02:00
|
|
|
IMAGES+= install/example-dir1.eps
|
|
|
|
IMAGES+= install/example-dir2.eps
|
|
|
|
IMAGES+= install/example-dir3.eps
|
|
|
|
IMAGES+= install/example-dir4.eps
|
|
|
|
IMAGES+= install/example-dir5.eps
|
2004-04-19 15:29:47 +02:00
|
|
|
|
|
|
|
IMAGES_EN+= mail/mutt1.scr
|
|
|
|
IMAGES_EN+= mail/mutt2.scr
|
|
|
|
IMAGES_EN+= mail/mutt3.scr
|
|
|
|
IMAGES_EN+= mail/pine1.scr
|
|
|
|
IMAGES_EN+= mail/pine2.scr
|
|
|
|
IMAGES_EN+= mail/pine3.scr
|
|
|
|
IMAGES_EN+= mail/pine4.scr
|
|
|
|
IMAGES_EN+= mail/pine5.scr
|
|
|
|
|
2003-04-11 11:21:15 +02:00
|
|
|
IMAGES_EN+= vinum/vinum-concat.pic
|
|
|
|
IMAGES_EN+= vinum/vinum-mirrored-vol.pic
|
|
|
|
IMAGES_EN+= vinum/vinum-raid10-vol.pic
|
|
|
|
IMAGES_EN+= vinum/vinum-raid5-org.pic
|
|
|
|
IMAGES_EN+= vinum/vinum-simple-vol.pic
|
|
|
|
IMAGES_EN+= vinum/vinum-striped-vol.pic
|
|
|
|
IMAGES_EN+= vinum/vinum-striped.pic
|
2002-07-29 19:53:40 +02:00
|
|
|
|
|
|
|
# Images from the cross-document image library
|
|
|
|
IMAGES_LIB= callouts/1.png
|
|
|
|
IMAGES_LIB+= callouts/2.png
|
|
|
|
IMAGES_LIB+= callouts/3.png
|
|
|
|
IMAGES_LIB+= callouts/4.png
|
|
|
|
IMAGES_LIB+= callouts/5.png
|
|
|
|
IMAGES_LIB+= callouts/6.png
|
|
|
|
IMAGES_LIB+= callouts/7.png
|
|
|
|
IMAGES_LIB+= callouts/8.png
|
|
|
|
IMAGES_LIB+= callouts/9.png
|
|
|
|
IMAGES_LIB+= callouts/10.png
|
|
|
|
|
|
|
|
#
|
1999-11-10 22:29:15 +01:00
|
|
|
# SRCS lists the individual SGML files that make up the document. Changes
|
|
|
|
# to any of these files will force a rebuild
|
|
|
|
#
|
|
|
|
|
|
|
|
# SGML content
|
2002-07-29 19:53:40 +02:00
|
|
|
SRCS+= book.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= colophon.sgml
|
|
|
|
SRCS+= freebsd-glossary.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= advanced-networking/chapter.sgml
|
|
|
|
SRCS+= basics/chapter.sgml
|
|
|
|
SRCS+= bibliography/chapter.sgml
|
2002-07-29 19:53:40 +02:00
|
|
|
SRCS+= boot/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= config/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= cutting-edge/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= desktop/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= disks/chapter.sgml
|
|
|
|
SRCS+= eresources/chapter.sgml
|
2005-12-22 16:26:31 +01:00
|
|
|
SRCS+= geom/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= install/chapter.sgml
|
|
|
|
SRCS+= introduction/chapter.sgml
|
2007-04-30 13:00:03 +02:00
|
|
|
SRCS+= jails/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= kernelconfig/chapter.sgml
|
|
|
|
SRCS+= l10n/chapter.sgml
|
|
|
|
SRCS+= linuxemu/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= mac/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= mail/chapter.sgml
|
|
|
|
SRCS+= mirrors/chapter.sgml
|
2002-07-29 19:53:40 +02:00
|
|
|
SRCS+= multimedia/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= network-servers/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= pgpkeys/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= ports/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= ppp-and-slip/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
SRCS+= preface/preface.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= printing/chapter.sgml
|
|
|
|
SRCS+= security/chapter.sgml
|
|
|
|
SRCS+= serialcomms/chapter.sgml
|
2002-07-29 19:53:40 +02:00
|
|
|
SRCS+= users/chapter.sgml
|
2002-08-28 18:51:55 +02:00
|
|
|
SRCS+= vinum/chapter.sgml
|
2007-04-14 14:04:08 +02:00
|
|
|
SRCS+= virtualization/chapter.sgml
|
1999-11-10 22:29:15 +01:00
|
|
|
SRCS+= x11/chapter.sgml
|
|
|
|
|
|
|
|
# Entities
|
2002-07-29 19:53:40 +02:00
|
|
|
SRCS+= chapters.ent
|
1999-11-10 22:29:15 +01:00
|
|
|
|
2002-07-29 19:53:40 +02:00
|
|
|
SYMLINKS= ${DESTDIR} index.html handbook.html
|
|
|
|
|
|
|
|
# Turn on all the chapters.
|
|
|
|
CHAPTERS?= ${SRCS:M*chapter.sgml}
|
|
|
|
|
|
|
|
SGMLFLAGS+= ${CHAPTERS:S/\/chapter.sgml//:S/^/-i chap./}
|
2003-12-29 21:38:02 +01:00
|
|
|
SGMLFLAGS+= -i chap.freebsd-glossary
|
2002-07-29 19:53:40 +02:00
|
|
|
|
|
|
|
pgpkeyring: pgpkeys/chapter.sgml
|
2004-08-01 18:46:23 +02:00
|
|
|
@${JADE} -V nochunks ${OTHERFLAGS} ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}
|
2002-07-29 19:53:40 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Handbook-specific variables
|
|
|
|
#
|
|
|
|
.if defined(WITH_PGPKEYS)
|
|
|
|
JADEFLAGS+= -V withpgpkeys
|
|
|
|
.endif
|
|
|
|
|
2003-12-30 21:35:17 +01:00
|
|
|
.for p in ftp cvsup
|
|
|
|
SRCS+= mirrors.sgml.${p}.inc
|
|
|
|
CLEANFILES+= mirrors.sgml.${p}.inc
|
|
|
|
CLEANFILES+= mirrors.sgml.${p}.inc.tmp
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
SRCS+= eresources.sgml.www.inc
|
|
|
|
CLEANFILES+= eresources.sgml.www.inc
|
|
|
|
CLEANFILES+= eresources.sgml.www.inc.tmp
|
|
|
|
|
2004-08-01 18:46:23 +02:00
|
|
|
URL_RELPREFIX?= ../../../..
|
|
|
|
DOC_PREFIX?= ${.CURDIR}/../../..
|
|
|
|
|
1999-11-10 22:29:15 +01:00
|
|
|
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
2003-12-30 21:35:17 +01:00
|
|
|
|
|
|
|
.for p in ftp cvsup
|
|
|
|
mirrors.sgml.${p}.inc: ${XML_MIRRORS} ${XSL_MIRRORS}
|
|
|
|
${XSLTPROC} ${XSLTPROCOPTS} \
|
|
|
|
-o $@.tmp \
|
|
|
|
--param 'type' "'$p'" \
|
|
|
|
--param 'proto' "'$p'" \
|
|
|
|
--param 'target' "'handbook/mirrors/chapter.sgml'" \
|
|
|
|
${XSL_MIRRORS} ${XML_MIRRORS}
|
|
|
|
${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
|
|
|
|
< $@.tmp > $@ || (${RM} -f $@ && false)
|
|
|
|
${RM} -f $@.tmp
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
eresources.sgml.www.inc: ${XML_MIRRORS} ${XSL_MIRRORS}
|
|
|
|
${XSLTPROC} ${XSLTPROCOPTS} \
|
|
|
|
-o $@.tmp \
|
|
|
|
--param 'type' "'www'" \
|
|
|
|
--param 'proto' "'http'" \
|
|
|
|
--param 'target' "'handbook/eresources/chapter.sgml'" \
|
|
|
|
${XSL_MIRRORS} ${XML_MIRRORS}
|
|
|
|
${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
|
|
|
|
< $@.tmp > $@ || (${RM} -f $@ && false)
|
|
|
|
${RM} -f $@.tmp
|