head	1.119;
access;
symbols
	RELEASE_8_3_0:1.119
	RELEASE_9_0_0:1.117
	RELEASE_7_4_0:1.113
	RELEASE_8_2_0:1.113
	RELEASE_8_1_0:1.112
	RELEASE_7_3_0:1.112
	RELEASE_8_0_0:1.112
	RELEASE_7_2_0:1.112
	RELEASE_7_1_0:1.111
	RELEASE_6_4_0:1.111
	RELEASE_6_3_0:1.108
	RELEASE_7_0_0:1.108
	RELEASE_6_2_0:1.100
	RELEASE_5_5_0:1.100
	RELEASE_6_1_0:1.98
	RELEASE_6_0_0:1.97
	RELEASE_5_4_0:1.91
	RELEASE_4_11_0:1.91
	RELEASE_5_3_0:1.90
	ISBN_1-57176-328-7:1.90
	RELEASE_4_10_0:1.81
	RELEASE_5_2_1:1.78
	RELEASE_5_2_0:1.74
	RELEASE_4_9_0:1.70
	RELEASE_5_1_0:1.64
	RELEASE_4_8_0:1.61
	RELEASE_5_0_0:1.61
	RELEASE_4_7_0:1.61
	RELEASE_4_6_2:1.56
	RELEASE_4_6_1:1.56
	RELEASE_4_6_0:1.55
	RELEASE_4_5_0:1.54
	ISBN_1-57176-303-1:1.50
	RELEASE_4_4_0:1.48
	old_RELEASE_4_3_0:1.31
	old_RELEASE_4_2_0:1.29
	old_RELEASE_4_1_0:1.29
	old_RELEASE_3_5_0:1.28;
locks; strict;
comment	@# @;


1.119
date	2011.12.11.18.21.55;	author gjb;	state Exp;
branches;
next	1.118;

1.118
date	2011.10.22.16.57.21;	author gjb;	state Exp;
branches;
next	1.117;

1.117
date	2011.10.12.04.00.20;	author wblock;	state Exp;
branches;
next	1.116;

1.116
date	2011.10.08.16.44.25;	author wblock;	state Exp;
branches;
next	1.115;

1.115
date	2011.10.08.16.34.12;	author gjb;	state Exp;
branches;
next	1.114;

1.114
date	2011.10.08.15.20.28;	author gjb;	state Exp;
branches;
next	1.113;

1.113
date	2010.08.18.20.23.36;	author blackend;	state Exp;
branches;
next	1.112;

1.112
date	2008.12.23.18.59.03;	author trhodes;	state Exp;
branches;
next	1.111;

1.111
date	2008.11.14.22.19.18;	author manolis;	state Exp;
branches;
next	1.110;

1.110
date	2008.09.28.12.54.12;	author trhodes;	state Exp;
branches;
next	1.109;

1.109
date	2008.03.03.11.07.37;	author brd;	state Exp;
branches;
next	1.108;

1.108
date	2007.10.13.12.01.20;	author chinsan;	state Exp;
branches;
next	1.107;

1.107
date	2007.07.29.11.19.09;	author blackend;	state Exp;
branches;
next	1.106;

1.106
date	2007.06.30.18.12.30;	author chinsan;	state Exp;
branches;
next	1.105;

1.105
date	2007.06.27.04.13.00;	author chinsan;	state Exp;
branches;
next	1.104;

1.104
date	2007.05.06.09.52.34;	author danger;	state Exp;
branches;
next	1.103;

1.103
date	2007.04.19.10.00.57;	author blackend;	state Exp;
branches;
next	1.102;

1.102
date	2007.04.06.07.38.50;	author murray;	state Exp;
branches;
next	1.101;

1.101
date	2007.03.22.20.30.14;	author danger;	state Exp;
branches;
next	1.100;

1.100
date	2006.05.16.14.01.06;	author keramida;	state Exp;
branches;
next	1.99;

1.99
date	2006.05.04.16.21.05;	author keramida;	state Exp;
branches;
next	1.98;

1.98
date	2006.04.17.17.49.23;	author hrs;	state Exp;
branches;
next	1.97;

1.97
date	2005.09.19.20.01.58;	author hrs;	state Exp;
branches;
next	1.96;

1.96
date	2005.09.18.04.33.25;	author hrs;	state Exp;
branches;
next	1.95;

1.95
date	2005.08.12.12.00.23;	author murray;	state Exp;
branches;
next	1.94;

1.94
date	2005.08.06.03.22.17;	author trhodes;	state Exp;
branches;
next	1.93;

1.93
date	2005.07.21.09.18.58;	author trhodes;	state Exp;
branches;
next	1.92;

1.92
date	2005.07.21.09.16.11;	author trhodes;	state Exp;
branches;
next	1.91;

1.91
date	2004.12.05.00.14.18;	author murray;	state Exp;
branches;
next	1.90;

1.90
date	2004.07.13.03.48.28;	author murray;	state Exp;
branches;
next	1.89;

1.89
date	2004.07.12.22.49.18;	author simon;	state Exp;
branches;
next	1.88;

1.88
date	2004.07.12.21.58.13;	author simon;	state Exp;
branches;
next	1.87;

1.87
date	2004.07.12.20.24.41;	author simon;	state Exp;
branches;
next	1.86;

1.86
date	2004.07.12.09.26.16;	author murray;	state Exp;
branches;
next	1.85;

1.85
date	2004.07.11.13.34.27;	author blackend;	state Exp;
branches;
next	1.84;

1.84
date	2004.07.07.11.23.15;	author hrs;	state Exp;
branches;
next	1.83;

1.83
date	2004.07.06.15.09.53;	author hrs;	state Exp;
branches;
next	1.82;

1.82
date	2004.06.21.19.34.54;	author trhodes;	state Exp;
branches;
next	1.81;

1.81
date	2004.05.11.05.52.39;	author den;	state Exp;
branches;
next	1.80;

1.80
date	2004.05.05.12.52.47;	author den;	state Exp;
branches;
next	1.79;

1.79
date	2004.03.16.06.55.13;	author trhodes;	state Exp;
branches;
next	1.78;

1.78
date	2004.01.12.21.27.00;	author hrs;	state Exp;
branches;
next	1.77;

1.77
date	2003.12.31.11.22.35;	author blackend;	state Exp;
branches;
next	1.76;

1.76
date	2003.12.30.14.47.29;	author blackend;	state Exp;
branches;
next	1.75;

1.75
date	2003.12.30.09.54.54;	author blackend;	state Exp;
branches;
next	1.74;

1.74
date	2003.12.06.07.39.32;	author hrs;	state Exp;
branches;
next	1.73;

1.73
date	2003.11.24.18.26.34;	author hrs;	state Exp;
branches;
next	1.72;

1.72
date	2003.11.17.04.02.46;	author hrs;	state Exp;
branches;
next	1.71;

1.71
date	2003.11.16.18.56.24;	author hrs;	state Exp;
branches;
next	1.70;

1.70
date	2003.10.03.18.40.11;	author trhodes;	state Exp;
branches;
next	1.69;

1.69
date	2003.10.03.18.21.32;	author trhodes;	state Exp;
branches;
next	1.68;

1.68
date	2003.10.03.18.09.49;	author trhodes;	state Exp;
branches;
next	1.67;

1.67
date	2003.09.18.16.43.34;	author ceri;	state Exp;
branches;
next	1.66;

1.66
date	2003.08.15.12.28.17;	author blackend;	state Exp;
branches;
next	1.65;

1.65
date	2003.08.15.12.00.19;	author blackend;	state Exp;
branches;
next	1.64;

1.64
date	2003.04.22.18.35.42;	author hrs;	state Exp;
branches;
next	1.63;

1.63
date	2003.04.19.11.39.28;	author hrs;	state Exp;
branches;
next	1.62;

1.62
date	2003.04.11.09.21.15;	author blackend;	state Exp;
branches;
next	1.61;

1.61
date	2002.09.03.01.17.19;	author keramida;	state Exp;
branches;
next	1.60;

1.60
date	2002.08.14.01.55.48;	author trhodes;	state Exp;
branches;
next	1.59;

1.59
date	2002.08.05.22.04.44;	author nik;	state Exp;
branches;
next	1.58;

1.58
date	2002.08.01.20.42.14;	author nik;	state Exp;
branches;
next	1.57;

1.57
date	2002.07.24.04.22.38;	author jim;	state Exp;
branches;
next	1.56;

1.56
date	2002.06.30.20.10.02;	author nik;	state Exp;
branches;
next	1.55;

1.55
date	2002.03.23.23.48.06;	author ceri;	state Exp;
branches;
next	1.54;

1.54
date	2002.01.22.15.20.25;	author des;	state Exp;
branches;
next	1.53;

1.53
date	2001.11.19.11.38.45;	author murray;	state Exp;
branches;
next	1.52;

1.52
date	2001.11.19.06.11.15;	author murray;	state Exp;
branches;
next	1.51;

1.51
date	2001.10.23.22.12.28;	author murray;	state Exp;
branches;
next	1.50;

1.50
date	2001.09.18.03.59.36;	author murray;	state Exp;
branches;
next	1.49;

1.49
date	2001.09.12.23.52.14;	author chern;	state Exp;
branches;
next	1.48;

1.48
date	2001.08.25.21.52.33;	author dd;	state Exp;
branches;
next	1.47;

1.47
date	2001.08.23.07.59.06;	author murray;	state Exp;
branches;
next	1.46;

1.46
date	2001.08.22.20.38.03;	author rpratt;	state Exp;
branches;
next	1.45;

1.45
date	2001.08.21.23.38.28;	author nik;	state Exp;
branches;
next	1.44;

1.44
date	2001.08.16.05.19.51;	author dd;	state Exp;
branches;
next	1.43;

1.43
date	2001.08.14.07.37.03;	author rpratt;	state Exp;
branches;
next	1.42;

1.42
date	2001.08.10.00.30.43;	author murray;	state Exp;
branches;
next	1.41;

1.41
date	2001.08.08.19.23.55;	author murray;	state Exp;
branches;
next	1.40;

1.40
date	2001.07.17.01.37.39;	author murray;	state Exp;
branches;
next	1.39;

1.39
date	2001.07.13.22.55.50;	author murray;	state Exp;
branches;
next	1.38;

1.38
date	2001.07.13.12.13.39;	author nik;	state Exp;
branches;
next	1.37;

1.37
date	2001.07.12.01.40.31;	author murray;	state Exp;
branches;
next	1.36;

1.36
date	2001.07.10.02.33.47;	author murray;	state Exp;
branches;
next	1.35;

1.35
date	2001.06.30.14.46.48;	author nik;	state Exp;
branches;
next	1.34;

1.34
date	2001.06.23.22.46.14;	author murray;	state Exp;
branches;
next	1.33;

1.33
date	2001.06.21.03.38.14;	author chris;	state Exp;
branches;
next	1.32;

1.32
date	2001.05.14.03.07.50;	author murray;	state Exp;
branches;
next	1.31;

1.31
date	2001.02.28.22.50.05;	author nik;	state Exp;
branches;
next	1.30;

1.30
date	2000.12.01.00.58.11;	author jim;	state Exp;
branches;
next	1.29;

1.29
date	2000.07.12.14.35.51;	author nbm;	state Exp;
branches;
next	1.28;

1.28
date	2000.03.20.20.59.30;	author jim;	state Exp;
branches;
next	1.27;

1.27
date	2000.03.08.11.12.10;	author nbm;	state Exp;
branches;
next	1.26;

1.26
date	99.09.06.06.52.44;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	99.09.03.17.40.54;	author nik;	state Exp;
branches;
next	1.24;

1.24
date	99.08.29.00.02.23;	author jhb;	state Exp;
branches;
next	1.23;

1.23
date	99.08.28.19.49.39;	author jhb;	state Exp;
branches;
next	1.22;

1.22
date	99.08.17.21.35.54;	author nik;	state Exp;
branches;
next	1.21;

1.21
date	99.05.05.20.31.23;	author nik;	state Exp;
branches;
next	1.20;

1.20
date	99.04.15.22.51.18;	author nik;	state Exp;
branches;
next	1.19;

1.19
date	99.04.12.21.40.25;	author nik;	state Exp;
branches;
next	1.18;

1.18
date	99.04.04.16.43.08;	author nik;	state Exp;
branches;
next	1.17;

1.17
date	99.03.27.16.03.49;	author nik;	state Exp;
branches;
next	1.16;

1.16
date	99.03.22.22.16.23;	author nik;	state Exp;
branches;
next	1.15;

1.15
date	99.03.18.20.37.12;	author nik;	state Exp;
branches;
next	1.14;

1.14
date	99.03.12.22.24.07;	author nik;	state Exp;
branches;
next	1.13;

1.13
date	99.03.08.21.44.45;	author nik;	state Exp;
branches;
next	1.12;

1.12
date	99.01.30.00.10.35;	author nik;	state Exp;
branches;
next	1.11;

1.11
date	99.01.27.23.39.47;	author nik;	state Exp;
branches;
next	1.10;

1.10
date	99.01.25.22.00.40;	author nik;	state Exp;
branches;
next	1.9;

1.9
date	99.01.25.21.58.47;	author nik;	state Exp;
branches;
next	1.8;

1.8
date	99.01.03.21.19.03;	author nik;	state Exp;
branches;
next	1.7;

1.7
date	98.12.20.20.33.49;	author nik;	state Exp;
branches;
next	1.6;

1.6
date	98.12.10.20.42.26;	author nik;	state Exp;
branches;
next	1.5;

1.5
date	98.11.12.01.20.35;	author nik;	state Exp;
branches;
next	1.4;

1.4
date	98.06.30.09.09.23;	author nik;	state Exp;
branches;
next	1.3;

1.3
date	98.06.30.09.04.12;	author nik;	state Exp;
branches;
next	1.2;

1.2
date	98.06.29.08.23.32;	author nik;	state Exp;
branches;
next	1.1;

1.1
date	98.06.18.09.06.04;	author nik;	state Exp;
branches;
next	;


desc
@@


1.119
log
@bsdinstall chapter updates from -RC3:

- Add the 'Enabling Crash Dumps' screen [1]
- Add the 'Manual Configuration' screen
- Replace the 'Final Configuration' screen; the 'Shell' option was removed
  and replaced with the 'Manual Configuration' prompt

Reminded by:		ryusuke [1]
@
text
@#
# $FreeBSD$
#
# 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.
#
# ------------------------------------------------------------------------
#
# To add a new chapter to the Handbook:
#
# - Update this Makefile, chapters.ent and book.sgml
# - Add a descriptive entry for the new chapter in preface/preface.sgml
#
# ------------------------------------------------------------------------

.PATH: ${.CURDIR}/../../share/sgml/glossary

MAINTAINER=	doc@@FreeBSD.org

DOC?= book

FORMATS?= html-split

HAS_INDEX= true
USE_PS2PDF=	yes

INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=

IMAGES_EN = advanced-networking/isdn-bus.eps
IMAGES_EN+= advanced-networking/isdn-twisted-pair.eps
IMAGES_EN+= advanced-networking/natd.eps
IMAGES_EN+= advanced-networking/net-routing.pic
IMAGES_EN+= advanced-networking/static-routes.pic
IMAGES_EN+= bsdinstall/bsdinstall-adduser1.png
IMAGES_EN+= bsdinstall/bsdinstall-adduser2.png
IMAGES_EN+= bsdinstall/bsdinstall-adduser3.png
IMAGES_EN+= bsdinstall/bsdinstall-boot-loader-menu.png
IMAGES_EN+= bsdinstall/bsdinstall-choose-mode.png
IMAGES_EN+= bsdinstall/bsdinstall-config-components.png
IMAGES_EN+= bsdinstall/bsdinstall-config-hostname.png
IMAGES_EN+= bsdinstall/bsdinstall-config-keymap.png
IMAGES_EN+= bsdinstall/bsdinstall-config-services.png
IMAGES_EN+= bsdinstall/bsdinstall-config-crashdump.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface-ipv4-dhcp.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface-ipv4.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface-ipv4-static.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface-ipv6.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface-ipv6-static.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface-slaac.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-interface.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-network-ipv4-dns.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-wireless-accesspoints.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-wireless-scan.png
IMAGES_EN+= bsdinstall/bsdinstall-configure-wireless-wpa2setup.png
IMAGES_EN+= bsdinstall/bsdinstall-distfile-extracting.png
IMAGES_EN+= bsdinstall/bsdinstall-distfile-fetching.png
IMAGES_EN+= bsdinstall/bsdinstall-distfile-verifying.png
IMAGES_EN+= bsdinstall/bsdinstall-final-confirmation.png
IMAGES_EN+= bsdinstall/bsdinstall-finalconfiguration.png
IMAGES_EN+= bsdinstall/bsdinstall-final-modification-shell.png
IMAGES_EN+= bsdinstall/bsdinstall-keymap-select-default.png
IMAGES_EN+= bsdinstall/bsdinstall-mainexit.png
IMAGES_EN+= bsdinstall/bsdinstall-netinstall-files.png
IMAGES_EN+= bsdinstall/bsdinstall-netinstall-mirrorselect.png
IMAGES_EN+= bsdinstall/bsdinstall-part-entire-part.png
IMAGES_EN+= bsdinstall/bsdinstall-part-guided-disk.png
IMAGES_EN+= bsdinstall/bsdinstall-part-guided-manual.png
IMAGES_EN+= bsdinstall/bsdinstall-part-manual-addpart.png
IMAGES_EN+= bsdinstall/bsdinstall-part-manual-create.png
IMAGES_EN+= bsdinstall/bsdinstall-part-manual-partscheme.png
IMAGES_EN+= bsdinstall/bsdinstall-part-review.png
IMAGES_EN+= bsdinstall/bsdinstall-post-root-passwd.png
IMAGES_EN+= bsdinstall/bsdinstall-set-clock-local-utc.png
IMAGES_EN+= bsdinstall/bsdinstall-timezone-confirm.png
IMAGES_EN+= bsdinstall/bsdinstall-timezone-country.png
IMAGES_EN+= bsdinstall/bsdinstall-timezone-region.png
IMAGES_EN+= bsdinstall/bsdinstall-timezone-zone.png
IMAGES_EN+= geom/striping.pic
IMAGES_EN+= install/adduser1.scr
IMAGES_EN+= install/adduser2.scr
IMAGES_EN+= install/adduser3.scr
IMAGES_EN+= install/boot-loader-menu.scr
IMAGES_EN+= install/boot-mgr.scr
IMAGES_EN+= install/config-country.scr
IMAGES_EN+= install/config-keymap.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/disklabel-auto.scr
IMAGES_EN+= install/disklabel-ed1.scr
IMAGES_EN+= install/disklabel-ed2.scr
IMAGES_EN+= install/disklabel-fs.scr
IMAGES_EN+= install/disklabel-root1.scr
IMAGES_EN+= install/disklabel-root2.scr
IMAGES_EN+= install/disklabel-root3.scr
IMAGES_EN+= install/disk-layout.eps
IMAGES_EN+= install/dist-set.scr
IMAGES_EN+= install/dist-set2.scr
IMAGES_EN+= install/docmenu1.scr
IMAGES_EN+= install/ed0-conf.scr
IMAGES_EN+= install/ed0-conf2.scr
IMAGES_EN+= install/edit-inetd-conf.scr
IMAGES_EN+= install/fdisk-drive1.scr
IMAGES_EN+= install/fdisk-drive2.scr
IMAGES_EN+= install/fdisk-edit1.scr
IMAGES_EN+= install/fdisk-edit2.scr
IMAGES_EN+= install/ftp-anon1.scr
IMAGES_EN+= install/ftp-anon2.scr
IMAGES_EN+= install/hdwrconf.scr
IMAGES_EN+= install/keymap.scr
IMAGES_EN+= install/main1.scr
IMAGES_EN+= install/mainexit.scr
IMAGES_EN+= install/main-std.scr
IMAGES_EN+= install/main-options.scr
IMAGES_EN+= install/main-doc.scr
IMAGES_EN+= install/main-keymap.scr
IMAGES_EN+= install/media.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/mta-main.scr
IMAGES_EN+= install/net-config-menu1.scr
IMAGES_EN+= install/net-config-menu2.scr
IMAGES_EN+= install/nfs-server-edit.scr
IMAGES_EN+= install/ntp-config.scr
IMAGES_EN+= install/options.scr
IMAGES_EN+= install/pkg-cat.scr
IMAGES_EN+= install/pkg-confirm.scr
IMAGES_EN+= install/pkg-install.scr
IMAGES_EN+= install/pkg-sel.scr
IMAGES_EN+= install/probstart.scr
IMAGES_EN+= install/routed.scr
IMAGES_EN+= install/security.scr
IMAGES_EN+= install/sysinstall-exit.scr
IMAGES_EN+= install/timezone1.scr
IMAGES_EN+= install/timezone2.scr
IMAGES_EN+= install/timezone3.scr
IMAGES_EN+= install/userconfig.scr
IMAGES_EN+= install/userconfig2.scr
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

IMAGES_EN+= install/example-dir1.eps
IMAGES_EN+= install/example-dir2.eps
IMAGES_EN+= install/example-dir3.eps
IMAGES_EN+= install/example-dir4.eps
IMAGES_EN+= install/example-dir5.eps
IMAGES_EN+= security/ipsec-network.pic
IMAGES_EN+= security/ipsec-crypt-pkt.pic
IMAGES_EN+= security/ipsec-encap-pkt.pic
IMAGES_EN+= security/ipsec-out-pkt.pic
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
IMAGES_EN+= virtualization/parallels-freebsd1.png
IMAGES_EN+= virtualization/parallels-freebsd2.png
IMAGES_EN+= virtualization/parallels-freebsd3.png
IMAGES_EN+= virtualization/parallels-freebsd4.png
IMAGES_EN+= virtualization/parallels-freebsd5.png
IMAGES_EN+= virtualization/parallels-freebsd6.png
IMAGES_EN+= virtualization/parallels-freebsd7.png
IMAGES_EN+= virtualization/parallels-freebsd8.png
IMAGES_EN+= virtualization/parallels-freebsd9.png
IMAGES_EN+= virtualization/parallels-freebsd10.png
IMAGES_EN+= virtualization/parallels-freebsd11.png
IMAGES_EN+= virtualization/parallels-freebsd12.png
IMAGES_EN+= virtualization/parallels-freebsd13.png
IMAGES_EN+= virtualization/virtualpc-freebsd1.png
IMAGES_EN+= virtualization/virtualpc-freebsd2.png
IMAGES_EN+= virtualization/virtualpc-freebsd3.png
IMAGES_EN+= virtualization/virtualpc-freebsd4.png
IMAGES_EN+= virtualization/virtualpc-freebsd5.png
IMAGES_EN+= virtualization/virtualpc-freebsd6.png
IMAGES_EN+= virtualization/virtualpc-freebsd7.png
IMAGES_EN+= virtualization/virtualpc-freebsd8.png
IMAGES_EN+= virtualization/virtualpc-freebsd9.png
IMAGES_EN+= virtualization/virtualpc-freebsd10.png
IMAGES_EN+= virtualization/virtualpc-freebsd11.png
IMAGES_EN+= virtualization/virtualpc-freebsd12.png
IMAGES_EN+= virtualization/virtualpc-freebsd13.png
IMAGES_EN+= virtualization/vmware-freebsd01.png
IMAGES_EN+= virtualization/vmware-freebsd02.png
IMAGES_EN+= virtualization/vmware-freebsd03.png
IMAGES_EN+= virtualization/vmware-freebsd04.png
IMAGES_EN+= virtualization/vmware-freebsd05.png
IMAGES_EN+= virtualization/vmware-freebsd06.png
IMAGES_EN+= virtualization/vmware-freebsd07.png
IMAGES_EN+= virtualization/vmware-freebsd08.png
IMAGES_EN+= virtualization/vmware-freebsd09.png
IMAGES_EN+= virtualization/vmware-freebsd10.png
IMAGES_EN+= virtualization/vmware-freebsd11.png
IMAGES_EN+= virtualization/vmware-freebsd12.png

# 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
IMAGES_LIB+= callouts/11.png
IMAGES_LIB+= callouts/12.png
IMAGES_LIB+= callouts/13.png
IMAGES_LIB+= callouts/14.png
IMAGES_LIB+= callouts/15.png

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

# SGML content
SRCS+= audit/chapter.sgml
SRCS+= book.sgml
SRCS+= bsdinstall/chapter.sgml
SRCS+= colophon.sgml
SRCS+= dtrace/chapter.sgml
SRCS+= freebsd-glossary.sgml
SRCS+= advanced-networking/chapter.sgml
SRCS+= basics/chapter.sgml
SRCS+= bibliography/chapter.sgml
SRCS+= boot/chapter.sgml
SRCS+= config/chapter.sgml
SRCS+= cutting-edge/chapter.sgml
SRCS+= desktop/chapter.sgml
SRCS+= disks/chapter.sgml
SRCS+= eresources/chapter.sgml
SRCS+= firewalls/chapter.sgml
SRCS+= filesystems/chapter.sgml
SRCS+= geom/chapter.sgml
SRCS+= install/chapter.sgml
SRCS+= introduction/chapter.sgml
SRCS+= jails/chapter.sgml
SRCS+= kernelconfig/chapter.sgml
SRCS+= l10n/chapter.sgml
SRCS+= linuxemu/chapter.sgml
SRCS+= mac/chapter.sgml
SRCS+= mail/chapter.sgml
SRCS+= mirrors/chapter.sgml
SRCS+= multimedia/chapter.sgml
SRCS+= network-servers/chapter.sgml
SRCS+= pgpkeys/chapter.sgml
SRCS+= ports/chapter.sgml
SRCS+= ppp-and-slip/chapter.sgml
SRCS+= preface/preface.sgml
SRCS+= printing/chapter.sgml
SRCS+= security/chapter.sgml
SRCS+= serialcomms/chapter.sgml
SRCS+= users/chapter.sgml
SRCS+= vinum/chapter.sgml
SRCS+= virtualization/chapter.sgml
SRCS+= x11/chapter.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./}
SGMLFLAGS+= -i chap.freebsd-glossary

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

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

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

#
# rules generating lists of mirror site from XML database.
#
XMLDOCS=	mirrors-ftp:::mirrors.sgml.ftp.inc.tmp \
		mirrors-cvsup:::mirrors.sgml.cvsup.inc.tmp \
		eresources:::eresources.sgml.www.inc.tmp
DEPENDSET.DEFAULT=	transtable mirror
XSLT.DEFAULT=		${XSL_MIRRORS}
XML.DEFAULT=		${XML_MIRRORS}
NO_TIDY.DEFAULT=	yes

PARAMS.mirrors-ftp+=	--param 'type' "'ftp'" \
			--param 'proto' "'ftp'" \
			--param 'target' "'handbook/mirrors/chapter.sgml'"
PARAMS.mirrors-cvsup+=	--param 'type' "'cvsup'" \
			--param 'proto' "'cvsup'" \
			--param 'target' "'handbook/mirrors/chapter.sgml'"
PARAMS.eresources+=	--param 'type' "'www'" \
			--param 'proto' "'http'" \
			--param 'target' "'handbook/eresources/chapter.sgml'"

SRCS+=		mirrors.sgml.ftp.inc \
		mirrors.sgml.cvsup.inc \
		eresources.sgml.www.inc

CLEANFILES+=	mirrors.sgml.ftp.inc mirrors.sgml.ftp.inc.tmp \
		mirrors.sgml.cvsup.inc mirrors.sgml.cvsup.inc.tmp \
		eresources.sgml.www.inc eresources.sgml.www.inc.tmp

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

.for p in ftp cvsup
mirrors.sgml.${p}.inc: mirrors.sgml.${p}.inc.tmp
	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
	    < $@@.tmp > $@@ || (${RM} -f $@@ && false)
.endfor

eresources.sgml.www.inc: eresources.sgml.www.inc.tmp
	${SED} -e 's,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,,'\
	    < $@@.tmp > $@@ || (${RM} -f $@@ && false)
@


1.118
log
@9.0-RC1 updates to the bsdinstall chapter:

- Document that bsdinstall will prompt a user if they would like
  to set a non-default keymap
- Add the image the displays the prompt for a user to select
  an non-default keymap
- Update the final configuration image, where 'Exit' is now the
  first option

Submitted/noticed by:	dru
@
text
@d62 1
d79 1
@


1.117
log
@Add description of wireless config to bsdinstall chapter.

Approved by:	gjb
@
text
@d78 1
@


1.116
log
@Remove leftover image placeholders.

Approved by:	gjb
@
text
@d70 3
@


1.115
log
@Add a few last-minute screenshots to Makefile.
@
text
@a75 3
IMAGES_EN+= bsdinstall/bsdinstall-mta-main.png
IMAGES_EN+= bsdinstall/bsdinstall-net-config-menu1.png
IMAGES_EN+= bsdinstall/bsdinstall-net-config-menu2.png
a77 1
IMAGES_EN+= bsdinstall/bsdinstall-ntp-config.png
@


1.114
log
@Hook the bsdinstall chapter to the build.
@
text
@d66 1
d74 1
@


1.113
log
@- Change a section id to something closer to the real content of the
  section (s/install-floppies/install-boot-media) to ease the read of
  the file;
- Some rewordings for i386 boot part to mention USB stick media.  I let
  floppies part since it's still correct for 7.X;
- Updates of some boot messages (still a work in progress);
- Add a screenshot for the keyboard selection at sysinstall(8) start
  which occurs if United States is not selected for the country.

PR:		docs/145023
Submitted by:   Aiza <aiza21@@comclark.com>
@
text
@d53 40
d248 1
@


1.112
log
@Decouple and remove the Updating chapter.
@
text
@d60 1
@


1.111
log
@Add a note on the files to update when adding a new chapter to the Handbook build

Suggested by:	murray
Discussed with:	murray, trhodes
@
text
@a239 1
SRCS+= updating/chapter.sgml
@


1.110
log
@Add the DTrace, file systems, and Updating chapters to the build.  They
need a bit more fleshing out, but there is no reason why they should
remain local patches anymore.

Reviewed by:	remko, pgj, manolis, keramida
@
text
@d26 7
@


1.109
log
@Add the images to the Makefile for the VMWare Virtualization section.
@
text
@d201 1
d213 1
d233 1
@


1.108
log
@- Add Virtual PC on Windows(R) section.

Obtained from:	The FreeBSD Traditional Chinese Project
@
text
@d162 12
@


1.107
log
@- Update boot messages for both CDROM and floppies boot; [1]
- Add boot loader menu screenshot.

[1] This is for i386, this should be correct for amd64.  I cannot really
update the alpha part (no alpha hardware under the hand).
@
text
@d149 13
@


1.106
log
@- Update the deprecated section about "Visual kernel configuration".
- Attach the newly screenshot of country-config for FreeBSD 6.2 -R and later.
@
text
@d50 1
@


1.105
log
@- Remove two screenshot which is deprecated from sysinstall(8):
  xf86setup, desktop.

Noticed by:	Ganbold <ganbold _at_ micom dot mng dot net>

Thanks. :)
@
text
@d51 1
@


1.104
log
@Install missing callout images, which are required for example in Security
Advisories chapter.

Approved by: keramida (mentor), trhodes (mentor)
@
text
@a54 1
IMAGES_EN+= install/desktop.scr
a108 1
IMAGES_EN+= install/xf86setup.scr
@


1.103
log
@Add for real the images for the Virtualization chapter.

Forgotten by:		blackend@@
@
text
@d161 5
@


1.102
log
@Add virtualization chapter to the System Administrator <part> of the
Handbook.
@
text
@d136 13
@


1.101
log
@Add a new Handbook chapter about FreeBSD jails. It has been originally written
by Matteo Riondato and further work has been done by me and my great mentors.
Despite it took months to get it in, we believe it's a right time to commit and
have a wider audience to look at it, and improve it even more. I hope you will
like it :-)

Approbed by: trhodes (mentor), keramida (mentor)
@
text
@d190 1
@


1.100
log
@Disconnect the "NanoBSD" Handbook chapter from the build.
@
text
@d172 1
@


1.99
log
@Add a chapter about "NanoBSD".  This probably needs a bit more work,
and I may have missed some SGML-ification, but let's give more
visibility to the chapter, so others can help me improve it too.

PR:             docs/94419
Submitted by:   Daniel Gerzo <danger@@rulez.sk>
@
text
@a178 1
SRCS+= nanobsd/chapter.sgml
@


1.98
log
@Move build targets for book.{ps,pdf} of the handbook to the LI part.
@
text
@d179 1
@


1.97
log
@Add temporary files to CLEANFILES instead of removing them
during the build.
@
text
@d36 1
a201 12
# 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.

PS2PDF?=	${PREFIX}/bin/ps2pdf

book.tex-pdf:
	${TOUCH} book.tex-pdf

book.pdf: book.ps
	${PS2PDF} book.ps book.pdf

@


1.96
log
@Introduce doc.xml.mk and XMLDOCS variable to simplify build
of XML docs.  Note that XML catalog support is still incomplete.
@
text
@d250 4
a253 3
CLEANFILES+=	mirrors.sgml.ftp.inc \
		mirrors.sgml.cvsup.inc \
		eresources.sgml.www.inc
a260 1
	${RM} -f $@@.tmp
a265 1
	${RM} -f $@@.tmp
@


1.95
log
@Add disk striping diagram to the GEOM chapter.

Submitted by:	loader@@freebsdmall.com
@
text
@d223 13
a235 5
.for p in ftp cvsup
SRCS+= mirrors.sgml.${p}.inc
CLEANFILES+= mirrors.sgml.${p}.inc
CLEANFILES+= mirrors.sgml.${p}.inc.tmp
.endfor
d237 9
a245 3
SRCS+= eresources.sgml.www.inc
CLEANFILES+= eresources.sgml.www.inc
CLEANFILES+= eresources.sgml.www.inc.tmp
d247 6
a252 2
URL_RELPREFIX?=	../../../..
DOC_PREFIX?=	${.CURDIR}/../../..
d257 1
a257 7
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}
d263 1
a263 7
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}
@


1.94
log
@Bring in two new chapters:

Audit - not hooked up to the build, but provided for when the audit framework
becomes available in the base system.

GEOM - Incomplete, only covers striping and mirroring since that is all I
have tested.  Incomplete is better than nothing in my opinion.  This one is
hooked up to the build.
@
text
@d45 1
@


1.93
log
@Grrr!  I knew that was going to bite me eventually.  Remove this chapter
from the book, the world is not ready for it yet.

Pointy hat:	trhodes
@
text
@d153 1
d167 1
@


1.92
log
@filesystem -> file system
@
text
@a152 1
SRCS+= audit/chapter.sgml
@


1.91
log
@Remove the bulging firewalls section from the security chapter into a
new chapter all its own, currently in the 'network communications'
part as chapter 24.

Add a small paragraph at the bottom of the security chapter synopsis
noting that additional security topics are covered in the MAC chapter
and the Firewall chapter.

While here add some missing punctuation, cleanup the whitespace, add
missing </para> tags, add a synopsis, and of course
s/<sectN/<sectN-1/.
@
text
@d153 1
@


1.90
log
@The advanced networking chapter had grown to almost 100 pages.
Split out the sections about network servers into a new chapter.

Reviewed by:	doc@@
@
text
@d165 1
@


1.89
log
@Actually include the glossary again... it is not included automatically
since since the generic make variable only add real chapters that are
called "chapter.sgml".

Pointy hat to:	simon
Noticed by:	ceri
@
text
@d174 1
@


1.88
log
@- Make decencies work for the Glossary, so the Handbook is rebuild
  when the Glossary is updated.
- While I'm here; sort a SRCS entry missed in revision 1.86.

Prodded by:	ceri [1]
@
text
@d194 1
@


1.87
log
@Retire the WITH_GLOSSARY option and enable the Glossary by default.

No objections:	-doc
@
text
@d27 2
d155 1
d159 1
a160 1
SRCS+= boot/chapter.sgml
a193 1
SGMLFLAGS+= -i chap.freebsd-glossary
@


1.86
log
@Sort SRCS.
@
text
@a33 1
WITH_GLOSSARY?=
a190 1
.if defined(WITH_GLOSSARY) && !empty(WITH_GLOSSARY)
a191 1
.endif
@


1.85
log
@Add a graphic version for a remaining ASCII art, in static routes
section.
@
text
@d152 2
a153 1
SRCS+=  book.sgml
d160 1
a171 1
SRCS+= desktop/chapter.sgml
d173 1
d175 1
a181 3
SRCS+= ports/chapter.sgml
SRCS+= preface/preface.sgml
SRCS+= colophon.sgml
@


1.84
log
@Unbreak the build.

Pointy hat to:	hrs
@
text
@d43 1
@


1.83
log
@Use relative URLs when URL_RELPREFIX is defined and URLS_ABSOLUTE
is not defined.

- URL_RELPREFIX must always point the top page's URL
  (http://www.FreeBSD.org) in relative form, defined in Makefile.

- &url.base; can be used in doc/<langcode>/*.  It will be
  replaced with the real URL which points the top page.

For translators: Please make sure to define URL_RELPREFIX to
point the top page.  The localized docs have different directory
hierarchy in its URL from the English version.

Tested by:	den
@
text
@d208 1
a208 1
	@@${JADE} -V nochunks ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC}
@


1.82
log
@Add my recently written MAC chapter.  At least 5-10% of this came from content
or ideas submitted to the trustedbsd-discuss mailing list by 'User Bugghy'
and from his mini-walkthrough.

Reviewed by:	-doc, TrustedBSD-discuss, rwatson
@
text
@a216 2
DOC_PREFIX?= ${.CURDIR}/../../..

d226 3
@


1.81
log
@Move
SRCS+= ${URLS_ENT}
from English Handbook Makefile to doc.common.mk

Reviewed by:	hrs
@
text
@d165 1
@


1.80
log
@Use &url.main; entity in place of ../../../..

Replace &url.main; -> http://www.FreeBSD.org
when URLS_ABSOLUTE is set (for release building),
and -> ../../../.. by default (for mirror sites).

Patch was slightly modified by:	hrs
Discussed with:	des, ceri, hrs, trhodes, simon
@
text
@a227 2
SRCS+=	${URLS_ENT}

@


1.79
log
@Add new mail images to the Makefile.

Submitted by:	Marc Silver <marcs@@draemor.org>
PR:		36727
@
text
@d228 2
@


1.78
log
@Improve transtable.{xml,xsl}, including:

 - The structure of transtable.xml is revised.  <word> should be
   bracketed with <group>.

 - A sorting order of the FreeBSD mirror sites rendered using
   mirrors.xml has been determined by sort(1).

 - A template "transtable-lookup" has been added for localization on
   word-by-word basis.

 - Replace English month names in news.xml, press.xml, and
   advisories.xml with numbers that correspond to the names.
   The number->name translation is performed on the fly.

 - Since information in mirrors.xml is used in www/ tree, it depends on
   doc/ tree now.  When WITHOUT_DOC is defined it can be built without
   doc/ tree, but some information becomes unavailable.  For example,
   a list of the mirror sites generated in index.html becomes a dummy
   one, and calling "transtable-lookup" with a word returns the word
   itself.

Neither www/ nor doc/ build should be broken due to this commit, but
until the necessary changes are applied in the localized directories,
the transtable does not work; it simply generates non-localized contents
even if transtable.xsl is used.
@
text
@d107 8
@


1.77
log
@Add back the net-routing.pic since it builds fine now (the ps-->eps
conversion is fixed).
@
text
@a225 1
	    --param 'transtable.xml' "'${XML_TRANSTABLE}'" \
a237 1
	    --param 'transtable.xml' "'${XML_TRANSTABLE}'" \
@


1.76
log
@Remove the net-routing.pic image from the build for the moment.
It's a quick-dirty hack to fix the build.
@
text
@d42 1
a42 1
#IMAGES_EN+= advanced-networking/net-routing.pic
@


1.75
log
@Replace ASCII art for a routing example with .pic diagram.
@
text
@d42 1
a42 1
IMAGES_EN+= advanced-networking/net-routing.pic
@


1.74
log
@- Add news/news.xml dependency to index.html.

- Add several templates for index.xsl into includes.misc.xsl.

- The structure of mirrors.xml has been changed; <host> is
  a container of <name> and <url> now.
@
text
@d42 1
@


1.73
log
@Add refinements on mirrors.xml:

 - add doc.common.mk, which defines variables, targets, and
   dependencies commonly used in www/ and doc/.

 - move www/<lang>/includes.xsl to the language independent
   directory and split into several files.

 - add transtable*.xsl and transtable.xml to support localized
   mirror names.

 - make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use
   mirrors.xml (mirrors and eresources).

 - make www/{en,ja}/index.xsl use mirrors.xml.

For details, please see doc/share/sgml/README.mirrors for the moment.

Reviewed by:	simon and Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d226 1
d239 1
@


1.72
log
@Unbreak the build.
@
text
@a199 13
DOC_PREFIX?= ${.CURDIR}/../../..

.for p in ftp cvsup
mirrors/chapter.sgml.${p}.inc: ${DOC_PREFIX}/share/sgml/mirrors.xml ${DOC_PREFIX}/share/sgml/mirrors.xsl
	${XSLTPROC} ${XSLTPROCOPTS} --param 'proto' "'$p'" \
	    ${DOC_PREFIX}/share/sgml/mirrors.xsl \
	    ${DOC_PREFIX}/share/sgml/mirrors.xml \
	    | sed -e "s,<\([^ >]*\)\([^>]*\)/>,<\1\2></\1>,;s,</anchor>,," > $@@
SRCS+= mirrors/chapter.sgml.${p}.inc
CLEANFILES+= mirrors/chapter.sgml.${p}.inc
.endfor


d207 12
d220 24
@


1.71
log
@Move lists of FreeBSD mirror sites to doc/share/sgml/mirrors.xml
(currently en_US.ISO8859-1/books/handbook/mirrors and
www/en/index.xsl use it).

Reviewed by:	simon
Discussed on:	-doc
@
text
@d204 1
a204 1
	${XSLTPROC} ${XSLTPROCOPTS} --stringparam 'proto' '$p' \
@


1.70
log
@The fdisk-drive2.scr got skipped somehow, re-add it in this commit.
@
text
@d202 11
@


1.69
log
@Sort image names to make it easier for committers to add new images.
@
text
@d66 1
@


1.68
log
@Document the options under sysinstall(8)'s Networking menu.
Add images to help explain some of these options.

This commit also documents the MTA changes in sysinstall(8).
@
text
@d1 1
a1 1
# 
d42 3
a44 16
IMAGES_EN+= install/userconfig.scr
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
d46 6
a51 1
IMAGES_EN+= install/fdisk-drive2.scr
d53 2
a54 1
IMAGES_EN+= install/disklabel-auto.scr
a56 1
IMAGES_EN+= install/disklabel-fs.scr
d58 1
a58 1
IMAGES_EN+= install/disklabel-ed2.scr
d61 1
a61 1
IMAGES_EN+= install/media.scr
d64 4
d70 9
a78 9
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
d88 1
d90 6
d97 7
a104 11
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
IMAGES_EN+= install/disk-layout.eps
IMAGES_EN+= install/edit-inetd-conf.scr
@


1.67
log
@Add a skeleton FreeBSD specific glossary, and the appropriate glue to the
handbook to allow it to be incorporated in the build.  This is not on by
default at the moment, and users who want it will need to set WITH_GLOSSARY
to a non-empty string when building ("make WITH_GLOSSARY=yes" being the
common case).

It is expected that committers will help to flesh out the glossary before
it is connected to the build by default; the current entries have been chosen
to illustrate the way that DocBook allows for "See also" and "See" in the
glossary elements.

This commit also takes the index out of the appendices in the handbook, as
this is not the usual place for an index to sit in a book, and moves it to
the end of the book.
@
text
@d89 5
@


1.66
log
@Replace remaining ASCIIs in IPsec section with images.
@
text
@d34 1
d176 3
@


1.65
log
@Add the IPsec network image to the build.
Forgot to commit this change :(
@
text
@d107 3
@


1.64
log
@Back out WITH_DOCFORMAT_NAVI_LINK?=YES in Makefile.  The navi-link
is generated when ${WITH_DOCFORMAT_NAVI_LINK} is defined or
${FORMATS} includes "html" and "html-split."
@
text
@d106 1
@


1.63
log
@- Add WITH_DOCFORMAT_NAVI_LINK to mk/doc.docbook.mk and
  enable it in en_US.ISO8859-1/ and ja_JP.eucJP/.

- Add PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
  and l10n.ent for entity localization.

- Use share/misc/docbook.css for indentiation of <programlisting>
  and <screen>.

- Add some missing $FreeBSD$.
@
text
@a34 2
WITH_DOCFORMAT_NAVI_LINK?=YES

@


1.62
log
@Commit images separation from en_US.ISO8859-1/ directory to
share/images.  To link "generic" images (share/images ones) from
Makefiles use IMAGES_EN and to link localized images use IMAGES.
For an example look at en_US.ISO8859-1/books/handbook/Makefile
@
text
@d35 2
@


1.61
log
@Add a new chapter titled ``Desktop applications''.

Submitted by:	Christophe Juniet <cjuniet@@entreview.com>
Reviewed by:	Ross Lippert <ripper@@eskimo.com>
@
text
@d38 62
a99 62
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
d101 12
a112 12
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
IMAGES+= vinum/vinum-concat.pic
IMAGES+= vinum/vinum-mirrored-vol.pic
IMAGES+= vinum/vinum-raid10-vol.pic
IMAGES+= vinum/vinum-raid5-org.pic
IMAGES+= vinum/vinum-simple-vol.pic
IMAGES+= vinum/vinum-striped-vol.pic
IMAGES+= vinum/vinum-striped.pic
@


1.60
log
@Add the new vinum chapter to the build.
@
text
@d149 1
@


1.59
log
@Back out all of the previous commit that didn't involve the MAINTAINER
line.

Swear a solemn oath to 'cvs diff' prior to running 'cvs commit'.
@
text
@d106 7
d155 1
@


1.58
log
@Set MAINTAINER to doc@@FreeBSD.org (which should have been done ages ago).
@
text
@d167 1
a167 1
#PS2PDF?=	${PREFIX}/bin/ps2pdf
d169 2
a170 2
#book.tex-pdf:
#	${TOUCH} book.tex-pdf
d172 2
a173 2
#book.pdf: book.ps
#	${PS2PDF} book.ps book.pdf
@


1.57
log
@Say hello to the beginnings of a new multimedia chapter (after a
repo-copy from sound).  This is based on the old sound chapter, but
includes video and other multimedia related bits.  More will be added to
it shortly and various parts will be cleaned up, but I wanted to get
this in the tree before I do anything else to it.

The sound chapter has been removed from the build, but I haven't cvs
rm'd it yet (though I will in about 24 hrs time).

Mostly submitted by:	Ross Lippert <ripper@@eskimo.com>
@
text
@d27 1
a27 1
MAINTAINER=nik@@FreeBSD.org
d167 1
a167 1
PS2PDF?=	${PREFIX}/bin/ps2pdf
d169 2
a170 2
book.tex-pdf:
	${TOUCH} book.tex-pdf
d172 2
a173 2
book.pdf: book.ps
	${PS2PDF} book.ps book.pdf
@


1.56
log
@List the new directory images so they get built.
@
text
@d141 1
a146 1
SRCS+= sound/chapter.sgml
@


1.55
log
@Allow use of up to 10 callouts instead of just 5.

Approved by:	murray, nik, -doc
@
text
@d101 6
@


1.54
log
@Fix dependencies.
@
text
@d107 5
@


1.53
log
@Add a preface to the Handbook, including :

    * Intended Audience
    * Recent Changes
    * Organization of this Book
    * Conventions used
    * Acknowledgments

Obtained from:	WRS, 2nd Edition Handbook (ISBN 1-57176-303-1)
@
text
@d114 1
a114 1
SRCS=  book.sgml
@


1.52
log
@Rework our index support.

  * Add a new document-specific variable, HAS_INDEX, to specify if a
    given document is marked up with <indexterm> entries.

  * Rework the index support so that both HAS_INDEX and GEN_INDEX are
    checked before trying to generate an index for a document.

  * Only create index.sgml if both HAS_INDEX and GEN_INDEX are set.

This allows us to recursively build the documentation tree with
GEN_INDEX=1 and have it only try to create an index (very time
consuming) for the few documents that are ready for this.  Previously,
running "make GEN_INDEX=1" from the top of the doc tree would look for
index terms in every single document.

With this, I hope we can start building our docs with GEN_INDEX set on
freefall so that users browsing the HTML docs will get the benefit of
the index we've been hiding in CVS for 6 months.
@
text
@d139 1
@


1.51
log
@* Correct links
* s/freebsd.org/FreeBSD.org
* Use relative links wherever possible

PR:		docs/31447
Submitted by:	Cyrille Lefevre <clefevre@@citeweb.net>
Found by:	linbot
@
text
@d33 2
@


1.50
log
@Remove references to the "Contributing to FreeBSD" chapter.  This is
moving to a separate article.  This chapter is not appropriate for the
current handbook, it will stick out even more as we split the handbook
into smaller books, and a separate article is more conducive to being
linked from the navigation bar on the main page just like the OpenBSD
and NetBSD web sites.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.49 2001/09/12 23:52:14 chern Exp $
d99 7
d153 2
d156 1
a156 1
	touch book.tex-pdf
d159 1
a159 1
	ps2pdf book.ps book.pdf
@


1.49
log
@Remove references to backups chapter, its content has been
moved to the storage chapter.

Suggested by: nik and murray
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.48 2001/08/25 21:52:33 dd Exp $
a110 1
SRCS+= contrib/chapter.sgml
@


1.48
log
@Remove authors.ent from SRCS since there's no need for it to be there,
and because the path is liable to change (that's why we have
catalogs).
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.47 2001/08/23 07:59:06 murray Exp $
a106 1
SRCS+= backups/chapter.sgml
@


1.47
log
@Add a new target to the Handbook makefile: 'pgpkeyring'.

This target finds all <programlisting role="pgpkey"> elements in the
Handbook and writes out a flat text file suitable for importing into
PGP or GPG.

This can be used in the web build to automatically update the public
keyring of FreeBSD developers.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.46 2001/08/22 20:38:03 rpratt Exp $
a134 1
SRCS+= authors.ent 
@


1.46
log
@Add new section for configuring internet services (inetd).

Update security section to reflect options in 4.4

Approved by:	murray
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.45 2001/08/21 23:38:28 nik Exp $
d16 9
d154 3
@


1.45
log
@List disk-layout.eps in IMAGES.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.44 2001/08/16 05:19:51 dd Exp $
d88 1
@


1.44
log
@An increasing amount of documents use the -V flag to Jade via
JADEFLAGS to set variables such as %generate-article-toc%.  However,
JADEFLAGS is also passed to nsgmls, which doesn't, and shouldn't,
understand -V.  The Makefiles which do this are correct, because the
name--JADEFLAGS--implies that it will only be passed to Jade, not to
nsgmls, too.  Furthermore, simply not passing JADEFLAGS to nsgmls is
not okay, since nsgmls *does* need the -i flags used to
include/exclude certain parts of the document.

Remedy this by breaking up JADEFLAGS into itself and SGMLFLAGS.  The
latter will be passed to all SGML processors such as nsgmls and Jade.
The former will only be passed to Jade.  The -V flags should stay in
JADEFLAGS, and the -i flags should be moved to SGMLFLAGS.

This fixes `make lint` for documents which use -V via JADEFLAGS.

Reviewed by:	bmah
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.43 2001/08/14 07:37:03 rpratt Exp $
d87 1
@


1.43
log
@Import my install guide with screenshots to replace the old install chapter.

Approved by:	Murray
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.42 2001/08/10 00:30:43 murray Exp $
d132 1
a132 1
JADEFLAGS+= ${CHAPTERS:S/\/chapter.sgml//:S/^/-i chap./}
@


1.42
log
@Add a basic colophon.  We should add to this information about the
history of this document, more about the open source tools we use to
build the different presentation formats, etc.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.41 2001/08/08 19:23:55 murray Exp $
d30 57
@


1.41
log
@kerneldebug/ was repo-copied to the Developer's Handbook
The contents of staff/ was moved into a separate article.
Update the Makefile appropriately.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.40 2001/07/17 01:37:39 murray Exp $
d64 1
@


1.40
log
@Remove references to Kernel Debugging and Source Policies chapters.
These will be moving to the Developer's Handbook shortly.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.39 2001/07/13 22:55:50 murray Exp $
a50 1
SRCS+= kernelopts/chapter.sgml
a60 1
SRCS+= staff/chapter.sgml
@


1.39
log
@Remove Appendix F from the Handbook build.  The two most complete
sections have been moved off into separate tutorials and "Jordan's
picks" of Pentium-class motherboards will just have to be missed ;)

The Handbook is now "only" 681 pages (without the index turned on).
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.38 2001/07/13 12:13:39 nik Exp $
a50 1
SRCS+= kerneldebug/chapter.sgml
a56 1
SRCS+= policies/chapter.sgml
@


1.38
log
@List the images in the advanced-networking chapter.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.37 2001/07/12 01:40:31 murray Exp $
a47 1
SRCS+= hw/chapter.sgml
@


1.37
log
@Introduce a new handbook-specific knob ``WITH_PGPKEYS'' and add the
relevant functions to the DSSSL stylesheet.

The default behavior is for print output formats to just display PGP
fingerprints unless you use `make WITH_PGPKEYS=1 FORMATS=ps'.  This new
default behavior reduces the size of Appendix E from 52 pages to 9
pages, and that could be trimmed down more with a more efficient
layout for the fingerprints (does each entry really warrant a new
section header?)

Knob requested by: Chris Costello
Discussed on: -doc
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.36 2001/07/10 02:33:47 murray Exp $
d27 3
a29 1
#IMAGES= advanced-networking/natd.eps
@


1.36
log
@Add a "Configuration and Tuning" chapter to the System Administration
section of the Handbook.

Submitted by:	Chern Lee <chern.lee@@windriver.com>
Obtained from:	Mike Smith's configuration tutorial, and
	        tuning(7) by Matt Dillon
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.35 2001/06/30 14:46:48 nik Exp $
d7 11
d90 8
@


1.35
log
@Support for building individual chapters in the Handbook without needing
to build the whole thing.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.34 2001/06/23 22:46:14 murray Exp $
d29 1
@


1.34
log
@Add a graphical figure for the natd chapter to replace the ASCII art
when the output format supports it.

The PNG driver for Ghostscript doesn't support anti-aliasing on
FreeBSD, so the PNG file was created on another platform and should
not be automatically generated from the eps file.

Submitted by:	G. Adam Stanislav (created the EPS file with a text editor)
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.33 2001/06/21 03:38:14 chris Exp $
d16 1
a16 1
# IMAGES= advanced-networking/natd.png advanced-networking/natd.eps
d61 5
@


1.33
log
@Move mailing-lists.ent out of the Handbook and into the language-specific
share/sgml directories, create a public identifier for it and replace all
SYSTEM references to the file with PUBLIC references.

There was no repo-copy made of these files as there is no important
history to preserve.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO8859-1/books/handbook/Makefile,v 1.32 2001/05/14 03:07:50 murray Exp $
d15 2
@


1.32
log
@Remove the FreeBSD Internals Chapter.  The contents have been moved to
several different chapters in the Developers' Handbook.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/Makefile,v 1.31 2001/02/28 22:50:05 nik Exp $
a56 1
SRCS+= mailing-lists.ent
@


1.31
log
@The Handbook build currently overflows some internal, hardcoded limits
in pdftex.  This is bad.  Until we (possibly) split the Handbook up into
lots of baby handbooks, build the PDF version using ps2pdf instead of
pdftex.

ps2pdf is part of ghostscript, but we updated textproc/docproj to require
that a few days ago.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/Makefile,v 1.30 2000/12/01 00:58:11 jim Exp $
a33 1
SRCS+= internals/chapter.sgml
@


1.30
log
@Add a sound chapter to the handbook.  Now we have somewhere to send all of
those people asking for help with sound.  Woo hoo! :-)

Submitted by:	Moses Moore <jm-moses@@home.com>
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/Makefile,v 1.29 2000/07/12 14:35:51 nbm Exp $
d61 10
@


1.29
log
@Make a symlink handbook.html pointing to index.html, for some
documentation that doesn't know about our changes.  (including the
current version of the handbook)

PR:		docs/19565
Submitted by:	Jens Schweikhardt <schweik@@noc.dfn.de>
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/Makefile,v 1.28 2000/03/20 20:59:30 jim Exp $
d49 1
@


1.28
log
@Move the quotas chapter into the disks chapter.
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/Makefile,v 1.27 2000/03/08 11:12:10 nbm Exp $
d58 2
@


1.27
log
@Add the users chapter, as discussed on -doc.

Reviewed by:	freebsd-doc
@
text
@d2 1
a2 1
# $FreeBSD: doc/en_US.ISO_8859-1/books/handbook/Makefile,v 1.26 1999/09/06 06:52:44 peter Exp $
d27 1
a46 1
SRCS+= quotas/chapter.sgml
@


1.26
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d50 1
@


1.25
log
@Use doc.project.mk, and ${.CURDIR}
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.24 1999/08/29 00:02:23 jhb Exp $
@


1.24
log
@Make the doc/en_* makefiles repect ${DOC_PREFIX} when they include
${DOC_PREFIX}/share/mk/docproj.docbook.mk instead of using hard-coded
paths.

Reviewed partially by:	nik, billf
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.23 1999/08/28 19:49:39 jhb Exp $
d58 2
a59 2
DOC_PREFIX?= ../../..
.include "${DOC_PREFIX}/share/mk/docproj.docbook.mk"
@


1.23
log
@FreeBSD.ORG -> FreeBSD.org for the MAINTAINERS e-mail address.
Translators can ignore this commit.

Reviewed by:	billf, nik
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.22 1999/08/17 21:35:54 nik Exp $
d59 1
a59 1
.include "../../../share/mk/docproj.docbook.mk"
@


1.22
log
@More Makefile framework.  I don't know why CVS didn't commit these with
the other batch.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.21 1999/05/05 20:31:23 nik Exp $
d7 1
a7 1
MAINTAINER=nik@@FreeBSD.ORG
@


1.21
log
@Removed empty JADEOPTS definition.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.20 1999/04/15 22:51:18 nik Exp $
d9 1
a9 1
DOC?= handbook
d22 1
a22 1
SRCS=  handbook.sgml
d58 2
a59 1
.include "../../share/mk/docproj.docbook.mk"
@


1.20
log
@Cut down the Makefile, most of the logic is now in
doc/share/mk/docproj.docbook.mk.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.19 1999/04/12 21:40:25 nik Exp $
a7 2

JADEOPTS=
@


1.19
log
@Add new html-split.tar target, for building an (optionally) compressed
tar file of the HTML files.  Functionality stays the same, but the
method is slightly different.

*.html-split.tar{.gz,.bz2,.zip} now removed on "make clean" as well,
as pointed out by Shadowfax, or Strider, or whatever Satoshi's calling
himself these days. . .
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.18 1999/04/04 16:43:08 nik Exp $
d4 1
a4 3
# Build the FreeBSD Handbook. Will eventually split in two, a generic .mk
# file which can be used by many Makefiles, and a much smaller Makefile
# which uses the generic.mk file.
a5 6
# Note: Doing all this in a Makefile is a little odd. This is because there
# is typically not a 1:1 mapping between the .sgml files and the .html,
# .rtf, .ps, and other formats. For most of them, all the .sgml files will
# become one file in the chosen output format. For HTML, many .html files
# will be produced, but they won't be named after the corresponding .sgml
# files.
a10 6
#
# DOC is the root name of file(s) that will be generated (i.e, for
# foo.rtf, foo.ps, etc, DOC=foo. HTML generation ignores this, it 
# is assumed that the stylesheet names this. If not set, DOC defaults
# to the name of the current directory.
#
d13 1
a13 15
#
# FORMATS lists the output formats that should be generated. Valid values
# are 
#
#    txt html html-split html-split.tar ps pdf rtf tar
#
# html-split is the file split into (probably) many individual HTML files,
# linked from one index.html file.
#
# html-split.tar is all these HTML files tarred up.
#
# This setting also affects which files will be removed with 'make clean'.
# If you 'make' with one setting, and 'make clean' with another, don't
# be surprised if it doesn't work.
FORMATS?= html-split.tar
a14 8
#
# INSTALL_COMPRESSED lists the compressed versions to be installed by the
# install-* targets. Valid values are
#
#    gz zip bz2
#
# If left empty then no files will be installed compressed.
#
a15 5

#
# INSTALL_ONLY_COMPRESSED is non-empty if you only want to install the
# compressed versions of built files. 
#
d60 1
a60 297
# ------------------------------------------------------------------------
#
# You shouldn't need to change definitions below here

VOLUME?=	${.CURDIR:T}
DOC?=		${.CURDIR:T}
DISTRIBUTION?=	doc

JADE=		/usr/local/bin/jade
DSLHTML=	../../share/sgml/freebsd.dsl
DSLPRINT=	../../share/sgml/freebsd.dsl

FREEBSDCATALOG= ../../share/sgml/catalog
DOCBOOKCATALOG= /usr/local/share/sgml/docbook/3.0/catalog
JADECATALOG=	/usr/local/share/sgml/jade/catalog
DSSSLCATALOG=   /usr/local/share/sgml/docbook/dsssl/modular/catalog

JADEFLAGS=	${JADEOPTS} -c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG}

KNOWN_FORMATS= html html-split html-split.tar txt rtf ps pdf tex dvi tar

# ------------------------------------------------------------------------
#
# Look at ${FORMATS} and work out which documents need to be generated.
# It is assumed that the HTML transformation will always create a file
# called index.html, and that for every other transformation the name
# of the generated file is ${DOC}.format.
#
# ${_docs} will be set to a list of all documents that must be made
# up to date.
#
# ${CLEANFILES} is a list of files that should be removed by the "clean"
# target. ${COMPRESS_EXT:S/^/${DOC}.${_cf}.&/ takes the COMPRESS_EXT var,
# and prepends the filename to each listed extension, building a second
# list of files with the compressed extensions added.
#

# Note: ".for _curformat in ${KNOWN_FORMATS}" is used several times in this
# file. I know they could have been rolled together in to one, much larger,
# loop. However, that would have made things more complicated for a newcomer
# to this file to unravel and understand, and a syntax error in the loop
# would have affected the entire build/compress/install process, instead
# of just one of them, making it more difficult to debug.

# Note: It is the aim of this file that *all* the targets be available,
# not just those appropriate to the current ${FORMATS} and
# ${INSTALL_COMPRESSED} values.
#
# For example, if FORMATS=html and INSTALL_COMPRESSED=gz you could still
# type
#
#     make book.rtf.bz2
#
# and it will do the right thing. Or
#
#     make install-rtf.bz2
#
# for that matter. But don't expect "make clean" to work if the FORMATS
# and INSTALL_COMPRESSED variables are wrong.
#

.for _curformat in ${FORMATS}
_cf=${_curformat}
.if ${_cf} == "html-split"
_docs+= index.html HTML.manifest
CLEANFILES+= `xargs < HTML.manifest` HTML.manifest
.elif ${_cf} == "html-split.tar"
_docs+= ${DOC}.html-split.tar
CLEANFILES+= `xargs < HTML.manifest` HTML.manifest
CLEANFILES+= ${DOC}.html-split.tar
.elif ${_cf} == "html"
_docs+= ${DOC}.html
CLEANFILES+= ${DOC}.html
.elif ${_cf} == "txt"
_docs+= ${DOC}.txt
CLEANFILES+= ${DOC}.html ${DOC}.txt
.elif ${_cf} == "dvi"
_docs+= ${DOC}.dvi
CLEANFILES+= ${DOC}.aux ${DOC}.dvi ${DOC}.log ${DOC}.tex
.elif ${_cf} == "ps"
_docs+= ${DOC}.ps
CLEANFILES+= ${DOC}.aux ${DOC}.dvi ${DOC}.log ${DOC}.tex ${DOC}.ps
.elif ${_cf} == "pdf"
_docs+= ${DOC}.pdf
CLEANFILES+= ${DOC}.aux ${DOC}.dvi ${DOC}.log ${DOC}.tex ${DOC}.pdf
.elif ${_cf} == "rtf"
_docs+= ${DOC}.rtf
CLEANFILES+= ${DOC}.rtf
.elif ${_cf} == "tar"
_docs+= ${DOC}.tar
CLEANFILES+= ${DOC}.tar
.endif
.endfor

#
# Build a list of install-${format}.${compress_format} targets to be
# by "make install". Also, add ${DOC}.${format}.${compress_format} to
# ${_docs} and ${CLEANFILES} so they get built/cleaned by "all" and
# "clean".
#
.if !empty(INSTALL_COMPRESSED)
.for _curformat in ${FORMATS}
_cf=${_curformat}
.for _curcomp in ${INSTALL_COMPRESSED}
.if ${_cf} != "html-split" 
_curinst+= install-${_curformat}.${_curcomp}
_docs+= ${DOC}.${_curformat}.${_curcomp}
CLEANFILES+= ${DOC}.${_curformat}.${_curcomp}
.endif
.endfor
.endfor
.endif

# ------------------------------------------------------------------------
#
# Targets
#

#
# Build Targets
#

# If no target is specifed then .MAIN is made
.MAIN: all

all: ${_docs}

index.html HTML.manifest: ${SRCS}
	${JADE} -V html-manifest -ioutput.html ${JADEFLAGS} -d ${DSLHTML} -t sgml ${DOC}.sgml
	-tidy -i -m -f /dev/null *.html

${DOC}.html: ${SRCS}
	${JADE} -ioutput.html -V nochunks ${JADEFLAGS} -d ${DSLHTML} -t sgml ${DOC}.sgml > ${DOC}.html
	-tidy -i -m -f /dev/null ${DOC}.html

${DOC}.html-split.tar: HTML.manifest
	tar cf ${.TARGET} `xargs < HTML.manifest`

${DOC}.txt: ${DOC}.html
	lynx -nolist -dump ${DOC}.html > ${DOC}.txt

${DOC}.rtf: ${SRCS}
	${JADE} -Vrtf-backend -ioutput.print ${JADEFLAGS} -d ${DSLPRINT} -t rtf ${DOC}.sgml

${DOC}.tex: ${SRCS}
	${JADE} -Vtex-backend -ioutput.print ${JADEFLAGS} -d ${DSLPRINT} -t tex ${DOC}.sgml

${DOC}.dvi: ${DOC}.tex
	@@echo "==> TeX pass 1/3"
	-tex "&jadetex" ${DOC}.tex
	@@echo "==> TeX pass 2/3"
	-tex "&jadetex" ${DOC}.tex
	@@echo "==> TeX pass 3/3"
	-tex "&jadetex" ${DOC}.tex

${DOC}.pdf: ${DOC}.tex
	@@echo "==> PDFTeX pass 1/3"
	-pdftex "&pdfjadetex" ${DOC}.tex
	@@echo "==> PDFTeX pass 2/3"
	-pdftex "&pdfjadetex" ${DOC}.tex
	@@echo "==> PDFTeX pass 3/3"
	pdftex "&pdfjadetex" ${DOC}.tex

${DOC}.ps: ${DOC}.dvi
	dvips -o ${DOC}.ps ${DOC}.dvi

${DOC}.tar:
	tar cf ${.TARGET} ${SRCS}

# ------------------------------------------------------------------------
#
# Compress targets
#

#
# The list of compression extensions this Makefile knows about. If you
# add new compression schemes, add to this list (which is a list of
# extensions, hence bz2, *not* bzip2) and extend the _PROG_COMPRESS_*
# targets.
#
KNOWN_COMPRESS=	gz bz2 zip

#
# You can't build suffix rules to do compression, since you can't wildcard
# the source suffix. So these are defined .USE, to be tacked on as
# dependencies of the compress-* targets.
#

_PROG_COMPRESS_gz: .USE
	gzip -9 -c ${.ALLSRC} > ${.TARGET}

_PROG_COMPRESS_bz2: .USE
	bzip2 -9 -c ${.ALLSRC} > ${.TARGET}

_PROG_COMPRESS_zip: .USE
	zip -j -9 ${.TARGET} ${.ALLSRC}

#
# Build a list of targets for each compression scheme and output format.
# Don't compress the html-split output format.
#
.for _curformat in ${KNOWN_FORMATS}
_cf=${_curformat}
.for _curcompress in ${KNOWN_COMPRESS}
.if ${_cf} == "html-split"
${DOC}.${_cf}.tar.${_curcompress}: ${DOC}.${_cf}.tar _PROG_COMPRESS_${_curcompress}
.else
${DOC}.${_cf}.${_curcompress}: ${DOC}.${_cf} _PROG_COMPRESS_${_curcompress}
.endif
.endfor
.endfor

#
# Install targets
#
# Build install-* targets, one per allowed value in FORMATS. Need to build
# two specific targets;
#
#    install-html-split - Handles multiple .html files being generated
#                         from one source. Uses the HTML.manifest file
#                         created by the stylesheets, which should list
#                         each .html file that's been created.
#
#    install-*          - Every other format. The wildcard expands to
#                         the other allowed formats, all of which should
#                         generate just one file.
#
# "beforeinstall" and "afterinstall" are hooks in to this process.
# Redefine them to do things before and after the files are installed,
# respectively.
#
install: beforeinstall realinstall afterinstall

#
# Build a list of install-format targets to be installed. These will be
# dependencies for the "realinstall" target.
#
.if empty(INSTALL_ONLY_COMPRESSED)
_curinst+= ${FORMATS:S/^/install-/g}
.endif

realinstall: ${_curinst}

.for _curformat in ${KNOWN_FORMATS}
_cf=${_curformat}
.if !target(install-${_cf})
.if ${_cf} == "html-split"
install-${_cf}: index.html
	@@if [ ! -f HTML.manifest ]; then				\
		echo "HTML.manifest file does not exist, can't install";\
		exit 1;							\
	fi
	${INSTALL} ${COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} 	\
		`xargs < HTML.manifest` ${DESTDIR}${DOCDIR}/${VOLUME};	\
	if [ -f ${.OBJDIR}/${DOC}.ln ]; then 				\
		(cd ${DESTDIR}${DOCDIR}/${VOLUME}; 			\
		sh ${.OBJDIR}/${DOC}.ln); 				\
	fi
.for _compressext in ${KNOWN_COMPRESS}
install-${_cf}.tar.${_compressext}: ${DOC}.${_cf}.tar.${_compressext}
	${INSTALL} ${COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE}	\
		${.ALLSRC} ${DESTDIR}${DOCDIR}/${VOLUME}
.endfor
.else
install-${_cf}: ${DOC}.${_cf}
	${INSTALL} ${COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE}	\
		${.ALLSRC} ${DESTDIR}${DOCDIR}/${VOLUME}

.for _compressext in ${KNOWN_COMPRESS}
install-${_cf}.${_compressext}: ${DOC}.${_cf}.${_compressext}
	${INSTALL} ${COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE}	\
		${.ALLSRC} ${DESTDIR}${DOCDIR}/${VOLUME}
.endfor
.endif
.endif
.endfor

.for __target in beforeinstall afterinstall depend _SUBDIR
.if !target(${__target})
${__target}:
.endif
.endfor

#
# Distribution target
#
# Like "install", but places the files into the correct distribution
#
.if !target(distribute)
distribute:
.for dist in ${DISTRIBUTION}
	cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist}
.endfor
.endif

.include <bsd.dep.mk>
.include <bsd.obj.mk>
@


1.18
log
@Specify the "rtf-backend" or "tex-backend" options as appropriate.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1999/03/27 16:03:49 nik Exp $
d31 1
a31 1
#    txt html html-split ps pdf rtf tar
d34 3
a36 1
# linked from one index.html file. 
d41 1
a41 1
FORMATS?= html-split
d120 1
a120 1
KNOWN_FORMATS= html html-split txt rtf ps pdf tex dvi tar
d167 4
d205 1
a205 4
.if ${_cf} == "html-split" 
_curinst+= install-html-split.tar.${_curcomp}
_docs+= ${DOC}.html-split.tar.${_curcomp}
.else 
@


1.17
log
@Turn the distribute: target back on.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.16 1999/03/22 22:16:23 nik Exp $
d240 1
a240 1
	${JADE} -ioutput.print ${JADEFLAGS} -d ${DSLPRINT} -t rtf ${DOC}.sgml
d243 1
a243 1
	${JADE} -ioutput.print ${JADEFLAGS} -d ${DSLPRINT} -t tex ${DOC}.sgml
@


1.16
log
@Finish the last commit, so that the html-split files are now properly
tar'ed and installed.  Prompted by JKH.

Turn 'distribute' in to a NOP, so that the LinuxDoc Handbook is not
smashed by this one during "make release".  We're almost ready to do
the switch. . .
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.15 1999/03/18 20:37:12 nik Exp $
a385 6
#.if !target(distribute)
#distribute:
#.for dist in ${DISTRIBUTION}
#	cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist}
#.endfor
#.endif
d388 3
a390 1
	@@echo "'distribute' not yet enabled for DocBook Handbook"
@


1.15
log
@Changes to support a new installation option.  If "html-split" is one of
the formats to build then "make install" can install a tar file of all
the HTML files.  Functionality required for the website.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.14 1999/03/12 22:24:07 nik Exp $
d199 4
d206 1
d357 1
a357 1
install-${_cf}.${_compressext}: ${DOC}.${_cf}.tar.${_compressext}
d386 6
d394 1
a394 3
.for dist in ${DISTRIBUTION}
	cd ${.CURDIR}; $(MAKE) install DESTDIR=${DISTDIR}/${dist}
.endfor
@


1.14
log
@Add a DISTRIBUTION variable so it knows where to install itself during a
"make distribute".
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1999/03/08 21:44:45 nik Exp $
d53 1
a53 3
# compressed versions of built files. As a side effect, setting this option
# means the html-split format *will not* be installed, even if it's listed
# in ${FORMATS}, because it can not be compressed.
a197 1
.if ${_cf} != "html-split"
a202 1
.endif
d228 3
d245 1
a245 1
	@@echo "==> Tex pass 3/3"
a295 1
.if ${_cf} != "html-split"
d297 3
d301 1
a302 1
.endif
d351 5
@


1.13
log
@Add a "distribute" target, in preparation for getting "make release" to
work with the DocBook handbook. Currently untested. . .
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1999/01/30 00:10:35 nik Exp $
d107 1
@


1.12
log
@* Add a new FORMAT, 'tar'. If it's used then ${SRC} is bundled up in to
  ${DOC}.tar. This honours the compression flags, so you can have it
  generate .gz, .zip, etc.

* Instead of only building compressed versions when running the "install"
  target they are now built for the "all" target as well.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1999/01/27 23:39:47 nik Exp $
d368 12
@


1.11
log
@Add "-V html-manifest" to index.html target rules, so that it's only
generated for this target, and not the generic .html target as well.

Additional "-" before TeX and PDFTeX calls, which also return non-zero
status codes (almost called them errorlevels, how long since I last wrote
a .bat file?)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1999/01/25 22:00:40 nik Exp $
d31 1
a31 1
#    txt html html-split ps pdf rtf
d119 1
a119 1
KNOWN_FORMATS= html html-split txt rtf ps pdf tex dvi
d184 3
d188 17
a204 3
.if !empty(INSTALL_COMPRESSED) && ${_cf} != "html-split"
_clean:= ${CLEANFILES} ${INSTALL_COMPRESSED:S/^/${DOC}.${_cf}.&/}
CLEANFILES:= ${_clean}
d207 1
d259 3
a322 15

#
# Build a list of install-format-compress_format targets to be installed.
# These will be dependecies for the "realinstall" target.
#
.if !empty(INSTALL_COMPRESSED)
.for _curformat in ${FORMATS}
_cf=${_curformat}
.if ${_cf} != "html-split"
.for _curcomp in ${INSTALL_COMPRESSED}
_curinst+= install-${_curformat}.${_curcomp}
.endfor
.endif
.endfor
.endif
@


1.10
log
@Currently the first two calls to tex return a non-zero status code. This
is expected, so prefix them with "-" so make(1) ignores it.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1999/01/25 21:58:47 nik Exp $
d206 1
a206 1
	${JADE} -ioutput.html ${JADEFLAGS} -d ${DSLHTML} -t sgml ${DOC}.sgml
d228 1
a228 1
	tex "&jadetex" ${DOC}.tex
d232 1
a232 1
	pdftex "&pdfjadetex" ${DOC}.tex
d234 1
a234 1
	pdftex "&pdfjadetex" ${DOC}.tex
d338 1
a338 1
		`xargs < HTML.manifest` ${DESTDIR}${DOCDIR}/${VOLUME};
@


1.9
log
@Move doc/sgml/* to doc/share/sgml/*, so it better follows the layout of
Doc. Proj. related ports under $PREFIX/share. Update en/handbook/Makefile
with the new paths.

Didn't seem worthwhile to do a repository copy for only three files moved.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1999/01/03 21:19:03 nik Exp $
d224 1
a224 1
	tex "&jadetex" ${DOC}.tex
d226 1
a226 1
	tex "&jadetex" ${DOC}.tex
@


1.8
log
@Extra support in the Makefile. Now builds html, html-split, rtf, ps, and pdf
versions (modulo bugs in JadeTex). "make install" and "make clean" now also
seem to do the right thing.

Extensive documentation included, comments welcomed.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1998/11/12 01:20:35 nik Exp $
d109 2
a110 2
DSLHTML=	../../sgml/freebsd.dsl
DSLPRINT=	../../sgml/freebsd.dsl
d112 1
a112 1
FREEBSDCATALOG= ../../sgml/catalog
@


1.7
log
@Added output.html and output.print as parameter entities to freebsd.dtd.
Default to "IGNORE", you should set them to "INCLUDE" by whatever
mechanism your SGML parser supports as necessary (i.e., Jade's -i
flag).

Added redefinitions for some ISO entities that aren't understood by
most web browsers. Since this is for HTML output only, wrap it in a
%output.html; marked section.

Use these marked sections to put both print and HTML stylesheets in one
.dsl file (freebsd.dsl). The print stylesheet now understands about the
elements that have been added to DocBook (and won't try and render them
in red).

Updated Makefile to use output.html and output.print on the command
line to Jade, instead of the earlier "html" and "print.

Note: producing .tex (and thence .ps and .pdf) versions of the Handbook
is broken. The Handbook tickles several bugs in the JadeTeX macros.
Sebastian Rahz, the JadeTeX author, knows about this, and is working on
fixing them.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1998/12/10 20:42:26 nik Exp $
d17 2
d31 1
a31 1
#    ascii html html-chunk tex dvi ps pdf rtf
d33 2
a34 2
# html-chunk is the file as one large HTML file, rather than broken up
# into smaller files
d39 19
a57 1
FORMATS?=  html
d101 7
d110 1
a110 1
DSLPRINT=	/usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl
d119 2
d130 30
d163 4
a166 4
.if ${_cf} == "html"
_docs+= index.html
CLEANFILES+= *.html HTML.manifest
.elif ${_cf} == "html-chunk"
d169 1
a169 1
.elif ${_cf} == "ascii"
d181 7
a187 3
.else
_docs+= ${DOC}.${_curformat}
CLEANFILES+= ${DOC}.${_curformat}
d193 2
a194 1
# Build some targets
a195 1
# ------------------------------------------------------------------------
d197 1
a197 1
# Targets
d205 1
a205 1
index.html: ${SRCS}
d207 1
a207 1
	tidy -i -m -f /dev/null *.html
d211 1
a211 1
	tidy -i -m -f /dev/null ${DOC}.html
d224 1
a224 1
	-tex "&jadetex" ${DOC}.tex
d226 1
a226 1
	-tex "&jadetex" ${DOC}.tex
d228 1
a228 1
	-tex "&jadetex" ${DOC}.tex
d232 1
a232 1
	-pdftex "&pdfjadetex" ${DOC}.tex
d234 1
a234 1
	-pdftex "&pdfjadetex" ${DOC}.tex
d236 1
a236 1
	-pdftex "&pdfjadetex" ${DOC}.tex
d240 122
@


1.6
log
@Support making multiple output formats from the Handbook (RTF, HTML,
Text, PS, PDF)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1998/11/12 01:20:35 nik Exp $
d143 1
a143 2
	${JADE} -ihtml ${JADEFLAGS} -d ${DSLHTML} -t sgml ${DOC}.sgml
	./conv.pl *.html
d147 1
a147 2
	${JADE} -ihtml -V nochunks ${JADEFLAGS} -d ${DSLHTML} -t sgml ${DOC}.sgml > ${DOC}.html
	./conv.pl ${DOC}.html
d154 1
a154 1
	${JADE} -iprint ${JADEFLAGS} -d ${DSLPRINT} -t rtf ${DOC}.sgml
d157 1
a157 1
	${JADE} -iprint ${JADEFLAGS} -d ${DSLPRINT} -t tex ${DOC}.sgml
@


1.5
log
@The beginnings of a friendlier Makefile. Doesn't do much except let you
build the HTML and RTF formats.
@
text
@d2 1
a2 1
# $Id$
d23 1
a23 1
DOC?= ${.CURDIR:T}
d29 1
a29 1
#    ascii html ps pdf rtf
d31 7
a37 1
FORMATS=  html
d40 1
a40 1
# SRCS lists the individual SGML files that make up the Handbook. Changes
d77 3
a79 2
SRCS+= authors.ent chapters.ent mailing-lists.ent

d90 1
a90 1
JADEFLAGS?=	-c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG}
d107 15
d143 1
a143 1
	${JADE} ${JADEFLAGS} -d ${DSLHTML} -t sgml handbook.sgml
d145 9
d156 1
a156 1
	${JADE} ${JADEFLAGS} -d ${DSLPRINT} -t rtf handbook.sgml
d159 20
a178 1
	${JADE} ${JADEFLAGS} -d ${DSLPRINT} -t tex handbook.sgml
@


1.4
log
@As per chapter 18 of the handbook (which I should know back to front by now)
formally list myself as MAINTAINER.
@
text
@d1 2
a2 25
# Makefile to build the Handbook from DocBook source.
#
# Requires these ports from textproc
#
#    docbook
#    dsssl-docbook-modular
#    html
#    jade
#
# and probably one or two others. You can probably get everything you need
# with the new textproc/docproj meta-port. 
#
# Note that you need version 1.08 of dsssl-docbook-modular. In version 1.07
# the 'catalog' file is called 'CATALOG', and you will need to change the 
# definition below.
#
# THIS IS A QUICK HACK (!) so that others can get an idea of how the 
# Handbook will look after conversion. After typing "make", point your
# browser at book01.html and read on. This is still very much a work in
# progress, and the final formatting will be considerably different.
#
# Eventually I expect most of this will be folded back into bsd.sgml.mk.
#
# Any comments or suggestions about the conversion process should be sent
# to nik@@FreeBSD.ORG
d4 10
d17 67
a83 1
DOCS=	handbook.sgml
d87 18
a104 2
# Transformation rules
#
d106 1
a106 1
# file.sgml --> file.html
d108 1
a108 33
# Examines file.sgml to determine the DTD in use. The DTD determines how
# the file will be converted to HTML. 

.SUFFIXES:	.sgml .html
SGMLNORM?=	/usr/local/bin/sgmlnorm
HTMLCATALOG?=	/usr/local/share/sgml/html/catalog
SGMLNORMFLAGS=	-d -n -c ${HTMLCATALOG}

JADE?=		/usr/local/bin/jade
DSL?=           ../../sgml/freebsd.dsl
FREEBSDCATALOG?=../../sgml/catalog
DOCBOOKCATALOG?=/usr/local/share/sgml/docbook/3.0/catalog
JADECATALOG?=	/usr/local/share/sgml/jade/catalog
DSSSLCATALOG?=  /usr/local/share/sgml/docbook/dsssl/modular/catalog
JADEFLAGS?=	-c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml

.sgml.html:
	@@DTD=`head -n 1 ${.IMPSRC} | perl -ne '/DTD (\w+)/; print $$1;'`;  \
	echo "${.IMPSRC} ($$DTD) --> ${.TARGET}";			\
	case $$DTD in							\
		HTML)							\
			${SGMLNORM} ${SGMLNORMFLAGS}			\
				${.IMPSRC} > ${.TARGET}; 		\
			;;						\
		DocBook)						\
			${JADE} ${JADEFLAGS} ${.IMPSRC};		\
			;;						\
		*)							\
			echo "Don't know how to process $$DTD."		\
			;;						\
	esac

#	${SGMLNORM} ${SGMLNORMFLAGS} ${.IMPSRC} > ${.TARGET}
d118 11
a128 4
#
# Build everything. Never completes, because handbook.html is never built
#
all: handbook.html
d130 2
@


1.3
log
@Use the new freebsd.dsl file when converting the Handbook.
@
text
@d28 2
@


1.2
log
@Use the new FreeBSD Doc. Project DTD.
@
text
@d10 6
a15 1
# and probably one or two others.
d19 1
a19 1
# browser at book01.htm and read on. This is still very much a work in
d46 1
a46 1
DSL?=		/usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl
d50 2
a51 1
JADEFLAGS?=	-c ${FREEBSDCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
a62 1
			mv ARTICLE-0001.html ${.TARGET};		\
@


1.1
log
@A quick hack to build the HTML version of the DocBook handbook -- partly
so I can check my progress, partly so that others can offer comments on
the result of the conversion.

See <URL:http://www.freebsd.org/~nik/handbook/book01.htm> for the first
results. Keep in mind that the conversion has not been fine tuned in any
way. That said, comments are welcome.
@
text
@d42 1
d45 1
a45 1
JADEFLAGS?=	-c ${DOCBOOKCATALOG} -c ${JADECATALOG} -d ${DSL} -t sgml
@
