[Bioperl-l] RE: [Bioperl-guts-l] bioperl commit

Brian Osborne brian_osborne at cognia.com
Wed Mar 12 14:30:50 EST 2003


Aaron,

Strangely enough it works. This particular syntax is suggested by MakeMaker,
see below. 'doc/makedoc.PL' => undef might also work.

Info:

Ref to hash of files to be processed as perl programs. MakeMaker will
default to any found *.PL file (except Makefile.PL) being keys and the
basename of the file being the value. E.g.
  {'foobar.PL' => 'foobar'}

The *.PL files are expected to produce output to the target files
themselves. If multiple files can be generated from the same *.PL file then
the value in the hash can be a reference to an array of target file names.
E.g.
  {'foobar.PL' => ['foobar1','foobar2']}



It seems to me that in this case our *PL doesn't really care what's in the
hash value, all the work is done using the information entirely within
makedoc.PL. Is 'undef' clearer?

Brian O.



-----Original Message-----
From: Aaron J Mackey [mailto:ajm6q at virginia.edu]
Sent: Wednesday, March 12, 2003 2:02 PM
To: Brian Osborne
Cc: Bioperl
Subject: Re: [Bioperl-guts-l] bioperl commit


I think you may want this to be:

  PL_FILES => {
    'doc/makedoc.PL' => [
      qw(bioperl.pod
         biodesign.pod
         docs/whatever.pod
         ...
        )
     ]

But I'm not entirely sure what the Makefile ends up looking like.

-Aaron

On Wed, 12 Mar 2003, Brian Osborne wrote:

>
> bosborne
> Wed Mar 12 06:28:32 EST 2003
> Update of /home/repository/bioperl/bioperl-live
> In directory pub.open-bio.org:/tmp/cvs-serv11953
>
> Modified Files:
>       Makefile.PL
> Log Message:
> Wants both key and value for PL_FILES
> bioperl-live Makefile.PL,1.55,1.56
> ===================================================================
> RCS file: /home/repository/bioperl/bioperl-live/Makefile.PL,v
> retrieving revision 1.55
> retrieving revision 1.56
> diff -u -r1.55 -r1.56
> --- /home/repository/bioperl/bioperl-live/Makefile.PL 2003/03/12 10:12:38
1.55
> +++ /home/repository/bioperl/bioperl-live/Makefile.PL 2003/03/12 11:28:32
1.56
> @@ -253,7 +253,7 @@
>      ) : (),
>      'realclean' => {  FILES        => join(' ', at BACKUP_FILES) },
>      DIR         => [  ], # directories with other Makefile.PL's in them
> -    PL_FILES => { 'doc/makedoc.PL' }
> +    PL_FILES => { 'doc/makedoc.PL' => 'makedoc' }
>  );
>
>
>
> _______________________________________________
> Bioperl-guts-l mailing list
> Bioperl-guts-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-guts-l
>

--
 Aaron J Mackey
 Pearson Laboratory
 University of Virginia
 (434) 924-2821
 amackey at virginia.edu






More information about the Bioperl-l mailing list