Re: Better mousetrap ^W Makefile

2000-05-05 Thread Ken Fox

Chip Salzenberg writes:
 You mean, 'building outside of the source dir'?  If so, three cheers.
 I'm in the habit of keeping sources in /u/src/foo/bar and building in
 /u/build/foo/bar with symlink /u/build/foo/bar/SRC - /u/src/foo/bar.

I've found that lndir (from the X11 distribution) works very well.  When
I build something, I unpack the original sources into "foo-X.Y" and then
make a directory "OS-foo-X.Y" (where OS is SunOS, IRIX, etc.).  Remove
write permission on foo-X.Y, run "lndir ../foo-X.Y" and builds can
happen in OS-foo-X.Y without any chance of screwing up the originals.
The nice part of this approach is that it doesn't require any support
from the build tools at all.

- Ken

-- 
Ken Fox, [EMAIL PROTECTED], (313)59-44794

Ford Motor Company, Powertrain   | "Is this some sort of trick
Analytical Powertrain Methods Department |  question or what?" -- Calvin
C3P Implementation Section   |



Re: Better mousetrap ^W Makefile

2000-04-30 Thread Chip Salzenberg

According to Jarkko Hietaniemi:
 I'll cast my vote for Cons, too.

And some voters are more equal than others.

 Let's be as deeply committed to Perl as we possibly can, that way we
 can make our own rules, instead of having to bend over backwards,
 while juggling a chainsaw, an electric eel, and a blowtorch.

"Chainsaw?  Luxury!  When I started, I had to write configuration
programs for CP/M in PL/I-80!"

I think we'll still want to keep a minimal makefile around for the
very very first steps required to build microperl.  Then we're off!

 ... not even to spit at the general direction of GNU
 configure/automake [...]

I shall waste none of my precious bodily fluids in so foolish an
endeavor.  The GNU build tools are, by and large, awful.  GNU make
is pretty good, but the rest are recycling fodder.

 And yes, I would make building out of the source directory a
 requirement.

You mean, 'building outside of the source dir'?  If so, three cheers.
I'm in the habit of keeping sources in /u/src/foo/bar and building in
/u/build/foo/bar with symlink /u/build/foo/bar/SRC - /u/src/foo/bar.
-- 
Chip Salzenberg  - a.k.a. -  [EMAIL PROTECTED]
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early."  // MST3K