File: Makefile.PL

package info (click to toggle)
libtext-unicode-equivalents-perl 0.05-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 84 kB
  • sloc: perl: 239; makefile: 2
file content (21 lines) | stat: -rwxr-xr-x 835 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use ExtUtils::MakeMaker;

@theselibs = grep {-f } glob("lib/Text/Unicode/*.*");

if ($^O eq 'MSWin32')
{
    @extras = (dist => { 
    	'TO_UNIX' => 'perl -Mtounix -e "tounix(\"$(DISTVNAME)\")"',
    	'TARFLAGS' => '-cv --mode=774 -f'		# GNU tar: remove world-writable permissions.
    	 });
}
WriteMakefile (
        NAME => "Text::Unicode::Equivalents",
        VERSION_FROM => "lib/Text/Unicode/Equivalents.pm",
#        HTMLLIBPODS => {map {my $t = $_; $t=~s/\..*?$/.html/o; $t='blib/Html/'.$t; $_ => $t;} @theselibs},
#        HTMLSCRIPTPODS => {map {my $t=$_; $t=~s/\..*?$/.html/o; $t='blib/Html/'.$t; $_ => $t;} @scripts},
        AUTHOR => "BHALLISSY\@cpan.org",
        ABSTRACT => "Build Unicode canonically equivalent strings",
        dist => { 'TO_UNIX' => 'perl -Mtounix -e "tounix(\"$(DISTVNAME)\")"' },
	@extras
    );