On Mon, Nov 18, 2002 at 04:06:43PM -0500, Henderson, Jordan (Contractor) (DAASC) wrote:
> No, but
> 
>       VOLUME:[foo.bar.][baz.biff]file.wif
>                      ^ (note the dot here)
> is equivalent to
> 
>       VOLUME:[foo.bar.baz.biff]file.wif
> 
> Note that you only get one extension this way:
> 
>       VOLUME:[foo.][bar.][baz.biff]file.wif
> 
> Does not work.

Hmmm.  Having the magic only work one level down does limit things some, but
it still will be useful.  Are there any other caveats?

I want to simplify MakeMaker by just doing this:

PREFIX = VOL:[foo.bar.]
INSTALLPRIVLIB = $(PREFIX)[lib.perl]

pure_perl_install ::
    @$(MOD_INSTALL)
        read  $(PERL_ARCHLIB)[auto.]$(FULLEXT).packlist
        write $(INSTALLARCHLIB)[auto.]$(FULLEXT).packlist
        $(INST_LIB)     $(INSTALLPRIVLIB)
        $(INAT_ARCHLIB) $(INSTALLARCHLIB)

similar to what all other OS's do rather than what it currently does which
is having MakeMaker pre-concatinate all the paths together.  Since the magic
only goes one level, I can't get away with the .packlist generation, but I
can fix the INSTALL*LIB variables and leave $(PREFIX) in.

Interally it makes things much simpler.

Externally, it means this:  "make install PREFIX=[foo.bar]"
(or your moral equivalent) will work on VMS.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
Monkey tennis

Reply via email to