summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 5e3beaf..95362f4 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,7 +1,6 @@
use ExtUtils::MakeMaker;
-if ($ENV{MAKEFILE_NAME}) {
- symlink '.', 'lib';
+if (-e 'lib/MDK/Common.pm.pl') {
system("perl lib/MDK/Common.pm.pl > lib/MDK/Common.pm");
}
@@ -10,8 +9,5 @@ WriteMakefile(
VERSION_FROM => 'lib/MDK/Common.pm',
ABSTRACT_FROM => 'lib/MDK/Common.pm',
AUTHOR => 'Pixel <pixel@mandriva.com>',
- $ENV{MAKEFILE_NAME} ? (
- MAKEFILE => $ENV{MAKEFILE_NAME},
- dist => { COMPRESS => "bzip2 -f" },
- ) : (),
+ dist => { COMPRESS => "bzip2 -f" },
);