Even though there hasn't been an overwhelming response to my last
proposal, I want to bring another architectural issue to the slate.

It seems to me that now would be a good time to reorganize the structure
of the Inline temporary directory 'blib_I/' (or the "blibby"). Here are
my proposals:

1) Change the default name from 'blib_I/' to '.Inline/' or '_Inline/'
depending on the situation.
2) Reorganize the contents to be:

.Inline/
   config           -> Inline configuration file
   build/           -> Build directory
     Foo/           -> Project build area
       Makefile.PL  -> Generated Files
       Foo.xs
       INLINE.h
       out.perl_Makefile.PL
       out.make
       out.make_install
   lib/             -> Install directory
     auto/
       Foo/
         Foo.so
         Foo.bs
         Foo.inline

3) Change the search order to find the Inline directory to:
   A) The INLINE_DIR= config option; if specified
   B) The PERL_INLINE_DIR environment variable; if set
   C) .Inline/ (in current directory); if exists and $PWD != $HOME
   D) bin/.Inline/ (in directory of your script); if exists
   E) ~/.Inline/; if exists
   F) ./_Inline/; if exists
   G) bin/_Inline; if exists
   H) Create ./_Inline/; if possible
   I) Create bin/_Inline/; if possible
   J) Croak if none of the above work

Please send comments and suggestions.

Brian

-- 
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'

Reply via email to