Date: Fri, 6 Aug 2004 20:24:55 +0100 From: Daniel Bye <freebsd-questions@slightlystrange.org> To: freebsd-questions@freebsd.org Subject: Re: Updating local copy of documentation Message-ID: <20040806192455.GA94854@catflap.slightlystrange.org> In-Reply-To: <200408061541.19592.gentoo@tmgcon.com> References: <200408061541.19592.gentoo@tmgcon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040806192455.GA94854>