Subject: | Use $Config{man1ext} than hardcoded '.1' value |
$ make
mv blib/script/ppm.pl blib/script/ppm
mv blib/man1/ppm.pl.1 blib/man1/ppm.1
mv: cannot stat `blib/man1/ppm.pl.1': No such file or directory
make: *** [all] Error 1
$ ls -l blib/man1
total 20
-rw-r--r-- 1 dexter dexter 17231 Mar 14 20:28 ppm.pl.1p
Please don't use hardcoded man1 extension.
Subject: | PPM-2.1.7.diff |
diff -Nru PPM-2.1.7.orig/Makefile.PL PPM-2.1.7/Makefile.PL
--- PPM-2.1.7.orig/Makefile.PL 2005-05-25 07:58:26.000000000 +0000
+++ PPM-2.1.7/Makefile.PL 2006-03-14 20:18:42.000000000 +0000
@@ -25,9 +25,9 @@
my $postamble = '
all ::';
-$postamble .= '
+$postamble .= "
mv blib/script/ppm.pl blib/script/ppm
- mv blib/man1/ppm.pl.1 blib/man1/ppm.1' unless ($^O eq 'MSWin32');
+ mv blib/man1/ppm.pl.$Config{man1ext} blib/man1/ppm.$Config{man1ext}" unless ($^O eq 'MSWin32');
$postamble .= "
$copy" unless -f "$Config{sitelib}/ppm.xml";