From ddcec565ec78a1b4a2891c9ed2ce9fe71275e5cd Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 16 Oct 2001 07:30:33 +0000 Subject: [PATCH] * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a Makefile. Don't allow any suffixes after "Makefile". --- ChangeLog | 5 +++++ lib/mc.ext.in | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b5703e5c1..3640cf1b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-14 Pavel Roskin + + * lib/mc.ext.in: Treat Makefile.PL as a Perl program, not as a + Makefile. Don't allow any suffixes after "Makefile". + 2001-10-12 Pavel Roskin * lib/mc.ext.in: Add support for *.xcf files (native GIMP diff --git a/lib/mc.ext.in b/lib/mc.ext.in index 474c424c1..9798c4cdb 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -362,13 +362,17 @@ type/^(M|m)ail shell/core # Makefile -regex/[Mm]akefile +regex/[Mm]akefile$ Open=make -f %f %{Enter parameters} # Imakefile shell/Imakefile Open=xmkmf -a +# Makefile.PL (MakeMaker) +regex/^Makefile.(PL|pl)$ + Open=%var{PERL:perl} %f + # Executables type/\ executable Open=./%f