Corrected Makefile.PL to move kohaversion.pl to cgi-bin/koha
[koha.git] / Makefile.PL
old mode 100644 (file)
new mode 100755 (executable)
index af2a46c..1c00a9d
@@ -17,7 +17,8 @@
 #
 # Current maintainer MJR http://mjr.towers.org.uk/
 # See http://www.koha.org/wiki/?page=KohaInstaller
-
+#
+# 2007-11-05 Corrected CGI copy to include entire 'installer' subdir structure. -fbcit
 use ExtUtils::MakeMaker;
 use POSIX;
 
@@ -105,12 +106,10 @@ WriteMakefile(
 'Date::Calc' => 5.4,
 'Date::Manip' => 5.44,
 'Digest::MD5' => 2.36,
-'Event' => 1.06,
 'File::Temp' => 0.16,
 'GD::Barcode::UPCE' => 1.1,
 'Getopt::Long' => 2.35,
 'Getopt::Std' => 1.05,
-'HTML::Template' => 2.8,
 'HTML::Template::Pro' => 0.65,
 'HTTP::Cookies' => 1.39,
 'HTTP::Request::Common' => 1.26,
@@ -125,27 +124,28 @@ WriteMakefile(
 'MIME::Base64' => 3.07,
 'MIME::QuotedPrint' => 3.07,
 'Mail::Sendmail' => 0.79,
-'Net::Z3950' => 0,
-'Net::Z3950::ZOOM' => 1.16,
 'PDF::API2' => 2.000,
 'PDF::API2::Page' => 2.000,
 'PDF::API2::Util' => 2.000,
 'PDF::Reuse' => 0.33,
 'PDF::Reuse::Barcode' => 0.05,
 'POSIX' => 1.09,
+'Schedule::At' => 1.06',
 'Term::ANSIColor' => 1.10,
 'Test' => 1.25,
 'Test::Harness' => 2.56,
 'Test::More' => 0.62,
+'Test::CSV' => 0.01,
 'Text::Wrap' => 2005.082401,
 'Time::HiRes' => 1.86,
 'Time::localtime' => 1.02,
 'Unicode::Normalize' => 0.32,
+'XML::Dumper' => 0.81,
 'XML::LibXML' => 1.59,
 'XML::SAX::ParserFactory' => 1.01,
 'XML::Simple' => 2.14,
 'XML::RSS' => 1.31,
-'ZOOM' => 0,
+'ZOOM' => 1.16,
         },
 
        # File tree mapping
@@ -163,7 +163,7 @@ WriteMakefile(
       'rewrite-config.PL' => [
          '$(PREFIX)/share/koha/etc/koha-conf.xml',
          '$(PREFIX)/share/koha/etc/koha-httpd.conf',
-         '$(PREFIX)/share/koha/etc/zebradb/tab/kohalis',
+         '$(PREFIX)/share/koha/etc/zebradb/etc/passwd',
          '$(PREFIX)/share/koha/etc/zebradb/zebra-biblios.cfg',
          '$(PREFIX)/share/koha/etc/zebradb/zebra-authorities.cfg'
          ]
@@ -209,7 +209,7 @@ CGIs are copied to $(PREFIX)/lib/cgi-bin/koha/
 and other scripts to koha/
 
 =cut
-       foreach my $src ("mainpage.pl","help.pl",glob("*/*.pl"),glob("installer/*.pm"),glob("*/*/*.pl"),glob("*/*/*/*.pl")) {
+       foreach my $src ("mainpage.pl","help.pl","kohaversion.pl",glob("*/*.pl"),glob("installer/*"),glob("installer/*/*/*/*"),glob("*/*/*.pl"),glob("*/*/*/*.pl")) {
                if ($src =~ /(misc|updater|rss)\//) {
                        $result{$src} = '$(INST_LIBDIR)/koha/'.$src;
                } else {
@@ -239,8 +239,10 @@ etc files are copied to /usr/share/koha/etc/
 
 =cut
        # Misc etc to koha/etc
-       foreach my $src (glob("etc/*")) {
-               $result{$src} = '$(PREFIX)/share/koha/'.$src;
+       foreach my $src (glob("etc/zebradb/*/*/*"),glob("etc/zebradb/*/*"),glob("etc/zebradb/*"),glob("etc/*")) {
+               if (-f $src) {
+                       $result{$src} = '$(PREFIX)/share/koha/'.$src;
+               }
        }