From owner-freebsd-doc Thu Jan 13 3:33:10 2000 Delivered-To: freebsd-doc@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 5EEF514FF1; Thu, 13 Jan 2000 03:33:04 -0800 (PST) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 128iUm-000Djs-00; Thu, 13 Jan 2000 13:32:52 +0200 Date: Thu, 13 Jan 2000 13:32:52 +0200 From: Neil Blakey-Milner To: Nik Clayton Cc: admin , freebsd-doc@freebsd.org Subject: Re: destination html files Message-ID: <20000113133251.B52600@mithrandr.moria.org> References: <20000102194131.B37040@catkin.nothing-going-on.org> <20000113003947.D8876@kilt.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000113003947.D8876@kilt.nothing-going-on.org> Organization: Rhodes University Computer Users' Society X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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