cvsuser     03/12/03 08:12:07

  Modified:    App-Context Makefile.PL
  Log:
  work on install of executables and cgi-bin scripts
  
  Revision  Changes    Path
  1.4       +15 -2     p5ee/App-Context/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Context/Makefile.PL,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -w -r1.3 -r1.4
  --- Makefile.PL       19 May 2003 17:41:11 -0000      1.3
  +++ Makefile.PL       3 Dec 2003 16:12:07 -0000       1.4
  @@ -1,11 +1,15 @@
   
   ######################################################################
  -## File: $Id: Makefile.PL,v 1.3 2003/05/19 17:41:11 spadkins Exp $
  +## File: $Id: Makefile.PL,v 1.4 2003/12/03 16:12:07 spadkins Exp $
   ######################################################################
   
   use ExtUtils::MakeMaker;
   
  -my @programs = ("bin/app",);
  +my @programs = (
  +    "cgi-bin/app",
  +    "bin/app-apache",
  +    #"bin/app-server",
  +);
   
   %opts = (
       'NAME'        => 'App-Context',
  @@ -31,4 +35,13 @@
   ######################################################################
   
   WriteMakefile(%opts);
  +
  +sub MY::postamble {
  +    return <<EOF;
  +
  +install ::
  +     @\$(MOD_INSTALL) cgi-bin "\$(PREFIX)/cgi-bin"
  +
  +EOF
  +}
   
  
  
  

Reply via email to