Subject: Re: Moving some script magic out of bsd.pkg.mk
To: David Brownlee <abs@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 01/06/2000 04:00:15
On Thu, 6 Jan 2000, David Brownlee wrote:
> 	I was not aware of that - what did we move out?

Documentation - packages.7.


> > I know not enough about how make(1) works internally, but unless there's
> > some hard prove this really buys us anything, i would prefer not to open
> > this can of worms.
> 
> 	A good example could be the code to generate README.html - its one
> 	shell command (with an embedded awk script), 49 lines, with no
> 	comments (due to the \ restriction). We could pull that out into a
> 	small, well documented shell script, which would take options on
> 	the command line and/or environment.

I still don't see the benefit there. 
This seems change for change's sake here.

(If you feel bored, we have enough pkg related PRs open... :-)


> 	The gain in splitting into 'modules':
> 		Scripts are easier to work on, could be run manually if wanted.

All this is true now, too. 
And just by distributing bsd.pkg.mk into several files doesn't it make a
smaller mess than it is right now.


> 		The logic in the main .mk file is easier to follow.

I don't believe that.


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra