Changeset 1501


Ignore:
Timestamp:
May 8, 2012, 4:12:24 AM (7 years ago)
Author:
bruno
Message:

now with really fixing makefile.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/Makefile.PL

    r1500 r1501  
    3737    my $confdir = undef;
    3838    my $mandir = undef;
     39        my $prefix = undef;
    3940
    4041    while (my $arg = shift @ARGV) {
     
    4445        } elsif ($key =~ /^MANDIR$/) {
    4546            $mandir = $value;
    46         }
     47                } elsif ($key eq 'PREFIX') {
     48                        $prefix = $value;
     49                }
    4750    }
    4851
     52        $confdir ||= "$prefix/etc/pb";
     53        $mandir ||= "$prefix/share/man";
    4954    my $etcdir = $confdir || "/usr/local/etc/pb";
    5055    my $mandir = $mandir || "/usr/local/share/man";
Note: See TracChangeset for help on using the changeset viewer.