Fix new installer on macosx.
authorDaniel BÃ\83¼nzli <daniel.buenzli@erratique.ch>
Thu, 20 Dec 2007 20:15:06 +0000 (14:15 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 20 Dec 2007 23:41:03 +0000 (17:41 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
Makefile.PL

index 8a42a1c..da9c4d4 100644 (file)
@@ -1071,7 +1071,7 @@ sub install {
     # installation and uninstallation targets.
 
 # If installation is on Win32, we need to do permissions different from *nix
-    if ( $^O =~ /linux|cygwin/ ) { # this value needs to be verified for each platform and modified accordingly
+    if ( $^O =~ /darwin|linux|cygwin/ ) { # this value needs to be verified for each platform and modified accordingly
            foreach my $key (sort keys %$target_directories) {
                    $install .= qq(
 KOHA_INST_$key = blib/$key
@@ -1132,9 +1132,6 @@ install :: all install_koha warn_koha_env_vars
                                unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or exists $skip_directories->{$key};
                }
        }
-       $install .= "\t\t\$(INST_MAN1DIR) \$(DESTINSTALLMAN1DIR) \\\n";
-       $install .= "\t\t\$(INST_MAN3DIR) \$(DESTINSTALLMAN3DIR)\n";
-
        $install .= "\n";
 
     $install .= "warn_koha_env_vars ::\n";