Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2000 13:32:52 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Nik Clayton <nik@freebsd.org>
Cc:        admin <admin@wtbwts.com>, freebsd-doc@freebsd.org
Subject:   Re: destination html files
Message-ID:  <20000113133251.B52600@mithrandr.moria.org>
In-Reply-To: <20000113003947.D8876@kilt.nothing-going-on.org>
References:  <20000102194131.B37040@catkin.nothing-going-on.org> <Pine.BSF.4.10.10001030944260.17208-100000@server.b0x.com> <20000113003947.D8876@kilt.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu 2000-01-13 (00:39), Nik Clayton wrote:
> The first is to keep all the information in the top level Makefile, as
> it currently is.  Have that Makefile contain an IMAGES variable, and make
> sure the contents of this variable includes the names of the directories;
> 
>     IMAGES=  hw/foo.gif contrib/bar.gif
> 
> and so on.  The .sgml files will reference the images with the paths in
> them.  This is fine, because the HTML files are all put in the top 
> level directory anyway.  The install target can use some magic with the
> dirname command on each entry in the IMAGES variable, to ensure that
> installation directories exist.

I'd be happy to add any make(1) magic to make this happen.

> Approach number two is to put a Makefile in each of the subdirectories.
> The top level Makefile can then contain a SUBDIR entry for each of these
> subdirectories, and we can recurse down in to them calling an 'install'
> target in each one.
> 
> I don't like this second approach much, as it smacks of making the problem
> overcomplicated.
> 
> Does that make sense?

Absolutely.  The second approach doesn't make much sense.

> In the next week or so I plan on importing Matt Dillon's recent DaemonNews
> article in to the articles/ tree (I've already spoken to Matt and the DN
> people about this).  This will involve images, so can act as a test bed 
> for image handling in the doc/ tree.

Great!  This'll be fun. (:

Neil
-- 
Neil Blakey-Milner
nbm@rucus.ru.ac.za


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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