Corrected Makefile.PL to move kohaversion.pl to cgi-bin/koha
[koha.git] / Makefile.PL
old mode 100644 (file)
new mode 100755 (executable)
index b36f4b8..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;
 
@@ -162,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/passwd',
+         '$(PREFIX)/share/koha/etc/zebradb/etc/passwd',
          '$(PREFIX)/share/koha/etc/zebradb/zebra-biblios.cfg',
          '$(PREFIX)/share/koha/etc/zebradb/zebra-authorities.cfg'
          ]
@@ -208,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 {