From what I've read on the p5p archives, shouldn't this work like we
want it to?

Index: META.yml
===================================================================
RCS file: META.yml
diff -N META.yml
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ META.yml    21 Oct 2003 23:14:08 -0000
@@ -0,0 +1,11 @@
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         mod_perl
+version:      1.99_11-dev
+version_from: lib/mod_perl.pm
+installdirs:  site
+requires:
+private:
+    directory:
+        - Apache::Test
+distribution_type: module
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.125
diff -u -I$Id: -r1.125 Makefile.PL
--- Makefile.PL 21 Sep 2003 03:05:18 -0000      1.125
+++ Makefile.PL 21 Oct 2003 23:14:08 -0000
@@ -62,6 +62,7 @@
 ModPerl::BuildMM::WriteMakefile(
     NAME      => 'mod_perl',
     VERSION   => $VERSION,
+    NO_META   => 1,
     EXE_FILES => [EMAIL PROTECTED],
     DEFINE    => get_DEFINE(),
     macro     => {


On Tue, 2003-10-21 at 15:57, Philippe M. Chiasson wrote:
> Seems people haven't decided between no_index and private:
> 
> The latest version of Module::Install's META.yml has this bit:
> 
> no_index:
>   directory:
>     - inc
> private:
>   directory:
>     - inc
> 
> On Tue, 2003-10-21 at 14:32, Stas Bekman wrote:
> > Philippe M. Chiasson wrote:
> > > How do you make something a 'private resource' in META.yml?
> > > 
> > > http://module-build.sourceforge.net/META-spec.html doesn't have
> > > anything about it? Or am I looking at the wrong place?
> > 
> > It's outdated. See:
> > http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-05/msg00089.html
> > 
> > I don't know what's the right place, I will ask at p5p.
> > 
> > >>  +* META.yml. Generate META.yml (make dist does that), add Apache-Test
> > >>  +  as a private resource, so it won't be attempted to be indexed by
> > >>  +  PAUSE, add NO_META=>1 to WriteMakefile() which tells EU::MM not to
> > >>  +  overwrite META.yml.
> > 
> > __________________________________________________________________
> > Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> > http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> > mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> > http://modperlbook.org http://apache.org   http://ticketmaster.com
-- 
--------------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)
http://gozer.ectoplasm.org/    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so ingenious.
perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to