[Koha-cvs] CVS: koha Makefile.PL,1.4,1.5

MJ Ray slef at users.sourceforge.net
Tue Jul 19 04:39:48 CEST 2005


Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16466

Modified Files:
	Makefile.PL 
Log Message:
Clean up messages, fill in some blanks, add more notes, test CONFIGURE, add opac files

Index: Makefile.PL
===================================================================
RCS file: /cvsroot/koha/koha/Makefile.PL,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Makefile.PL	18 Jul 2005 20:15:09 -0000	1.4
--- Makefile.PL	19 Jul 2005 02:39:45 -0000	1.5
***************
*** 21,25 ****
  use ExtUtils::MakeMaker;
  
! die "perl >= 5.6.1 required" unless ($] >= 5.006001);
  
  WriteMakefile(
--- 21,25 ----
  use ExtUtils::MakeMaker;
  
! die "perl 5.6.1 or later required" unless ($] >= 5.006001);
  
  WriteMakefile(
***************
*** 43,56 ****
     CONFIGURE => sub {
       # Figure out options here?
!      return {}
       },
     PMLIBDIRS => [ '.' ],
     PL_FILES => { # generator => target
!      # need to copy detail, moredetail, search, subjectsearch and logout from intranet to opac
!      # need to write koha.conf
!      # need to write koha-httpd.conf
!      # need to write koha.sql
       }
!    # need to check permissions somehow
  );
  
--- 43,62 ----
     CONFIGURE => sub {
       # Figure out options here?
!      return { macro => { 'export TEST' => '755' } }
       },
     PMLIBDIRS => [ '.' ],
     PL_FILES => { # generator => target
!      'opac/getfromintranet.PL' => ['$(INST_LIBDIR)/opac/cgi-bin/detail.pl','$(INST_LIBDIR)/opac/cgi-bin/moredetail.pl','$(INST_LIBDIR)/opac/cgi-bin/search.pl','$(INST_LIBDIR)/opac/cgi-bin/subjectsearch.pl','$(INST_LIBDIR)/opac/cgi-bin/logout.pl'],
!      'misc/koha.conf.PL' => '$(INST_LIBDIR)/../etc/koha.conf',
!      'misc/apache-koha.conf.PL' => '$(INST_LIBDIR)/../etc/apache-koha.conf',
!      'misc/koha.sql.PL' => '$(INST_LIBDIR)/intranet/scripts/koha.sql',
!      'z3950/z3950-daemon-options.PL' => '$(INST_LIBDIR)/intranet/scripts/z3950daemon/z3950-daemon-options',
!      # fake target to check permissions
!      'misc/chmod.PL' => '$(INST_LIBDIR)/fake-target'
       }
!    # need to set ownerships
!    # need to load koha.sql
!    # need to link koha-httpd.conf
!    # need to start z3950-daemon
  );
  
***************
*** 64,68 ****
    # reimplementation of buildrelease and Install::installfiles
    # ban some shell specials too
!   elsif ($path =~ /(\/CVS\/|\.bak$|\.orig$|\/,|\/t\/|[^\$]\(| )/) { $path = ''; }
    elsif (
      $path =~ s:\)/misc:\)/intranet/scripts: ||
--- 70,74 ----
    # reimplementation of buildrelease and Install::installfiles
    # ban some shell specials too
!   elsif ($path =~ /(\/CVS\/|\.(bak|orig|PL)$|\/,|\/t\/|[^\$]\(| )/) { $path = ''; }
    elsif (
      $path =~ s:\)/misc:\)/intranet/scripts: ||





More information about the Koha-cvs mailing list