Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2008 12:45:58 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: local copy of handbook
Message-ID:  <20081229124558.43cefc56@gumby.homeunix.com>
In-Reply-To: <b10011eb0812282046j7b784d82q492c8b10cb46db06@mail.gmail.com>
References:  <b10011eb0812282046j7b784d82q492c8b10cb46db06@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Dec 2008 10:16:42 +0530
"Masoom Shaikh" <masoom.shaikh@gmail.com> wrote:

lso I cud use tarballs from FTP, but is there easy way to install
> them ? also csup didn't help here is my csup file
> 
> *default tag=RELENG_7
> *default host=ftp2.tw.freebsd.org
> *default prefix=/usr
> *default base=/var/db
> *default release=cvs delete use-rel-suffix compress
> src-all
> doc-all
> 
> csup updates the source each time, but now i am not sure about doc!!
> 

If you do it that way, you have to generate the html files yourself,
cvup fetches generic data files that can be used to generate html , pdf
etc.

What I do these days is mirror the online version with wget.



#!/bin/sh

cd /usr/share/doc/en

wg_args=" --mirror -np -nH --cut-dirs=2 --limit-rate=33k"

bg_flags=""

# Run quietly from cron
[ ! -t 0 ] && bg_flags=" --quiet "

wget $bg_flags $wg_args  "http://www.freebsd.org/doc/en_US.ISO8859-1/"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081229124558.43cefc56>