From owner-freebsd-questions@FreeBSD.ORG Fri Aug 6 19:24:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 879BA16A4CE for ; Fri, 6 Aug 2004 19:24:57 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE0743D5E for ; Fri, 6 Aug 2004 19:24:56 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.41 (FreeBSD)) id 1BtAKl-000OiV-Oq for freebsd-questions@freebsd.org; Fri, 06 Aug 2004 20:24:55 +0100 Date: Fri, 6 Aug 2004 20:24:55 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20040806192455.GA94854@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <200408061541.19592.gentoo@tmgcon.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <200408061541.19592.gentoo@tmgcon.com> User-Agent: Mutt/1.4.2.1i Subject: Re: Updating local copy of documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 19:24:57 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 06, 2004 at 03:41:19PM +1200, Tom Munro Glass wrote: > When you install FreeBSD, lots of useful documentation is installed in th= e=20 > articles and books directories under /usr/share/doc/ including the essent= ial=20 > handbook. >=20 > Is there a way of automatically updating this documentation - I thought t= hat=20 > maybe this was done as a part of cvsup, make buildworld, etc, but apparen= tly=20 > not? I realise that I can download the latest version with FTP, but it wo= uld=20 > be nice if this could be done as part of the normal maintenance tasks. You can get the latest version of hte docs using CVSup. This is the CVSUP file I use for that very purpose: ## BEGIN *default host=3Dcvsup.uk.FreeBSD.org *default base=3D/usr *default prefix=3D/usr *default release=3Dcvs tag=3D. *default delete use-rel-suffix *default compress doc-all ## END Naturally, you will want to change the host=3D to one near to you. To have the docs updated when you do a `make update', you need to ensure that you have `DOCSUPFILE=3D/path/to/doc-supfile' set in /etc/make.conf. To save time and disk space, you can also tell the build system to only build docs in one language, using `DOC_LANG=3Den_US.ISO8859-1' in /etc/make.conf Once you have gotten the latest sources,=20 # cd /usr/doc # make all install clean and all should be well. Note that you will need to install the textproc/docproj port to be able to build the docs from the source. You can get more info at http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/ HTH Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBE9sHhvzwOpChvo8RAj8GAKCxoQpecZ/oqkdLhrNZb6isyX2wtgCg34MA nPFJw4md+1NOwM0yNFlmTlE= =kIgH -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--