diff options
author | Russ Allbery <rra@stanford.edu> | 2008-04-24 23:44:53 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-04-24 23:44:53 +0000 |
commit | 6dba2e90a7f913d8c2fc89e253bc37e69c14e88a (patch) | |
tree | e1c34a2b8990d8e445bb09d3b1fcf662b800853e | |
parent | 827bb06a46cff19a77d3faf338b9f138cdafa8f7 (diff) |
ExtUtils::MakeMaker uses prefix more intelligently than I thought.
-rw-r--r-- | perl/Makefile.PL.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in index 5c47220..1ba6004 100644 --- a/perl/Makefile.PL.in +++ b/perl/Makefile.PL.in @@ -8,8 +8,6 @@ $version =~ s/\.(\d)$/.0$1/; # Set a prefix for ExtUtils::MakeMaker if we were given one for configure. my $prefix = "@prefix@"; -my $datarootdir = "@datarootdir@"; -my $datadir = "@datadir@"; WriteMakefile( NAME => 'Wallet', @@ -17,5 +15,5 @@ WriteMakefile( ABSTRACT => 'Wallet: a secure credential management system', AUTHOR => 'Russ Allbery (rra@stanford.edu)', (($prefix ne '/usr' && $prefix ne '/usr/local') ? - (PREFIX => $datadir) : ()) + (PREFIX => $prefix) : ()) ); |