On Wed, 18 Dec 2002 [EMAIL PROTECTED] wrote:

>>I want to build a package with PREFIX=whatever but then when
>>copying in the files, put them in a temporary directory so I can
>>create a binary package.  Any suggestions?
>
>Using my time machine, I went into the past and added DESTDIR and
>fixed the "make install PREFIX=foo" problem in the snapshot about a
>week ago.

Oh yeah, sorry - I remember seeing those messages on the mailing list
but I didn't at the time bother to understand them.

It doesn't help with getting a Makefile.PL that works on machines with
current MakeMakers installed (I want to support as far back as
perl 5.005).  So I guess the question I should have asked is not 'what
is the best way to do this?' but rather 'what workaround can I use to
get the desired effect with current MakeMaker versions?'.

Axel Thimm's suggestion of running the Makefile.PL twice (once before
building and once before installing) sounds like the best way.

-- 
Ed Avis <[EMAIL PROTECTED]>


Reply via email to