ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Makefile.PL
Revision: 1.3
Committed: Thu Jul 19 02:45:09 2001 UTC (22 years, 10 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.2: +11 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 use ExtUtils::MakeMaker;
2    
3     use 5.006;
4    
5     WriteMakefile(
6     dist => {
7     PREOP => 'pod2text Coro.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
8     COMPRESS => 'gzip -9v',
9     SUFFIX => '.gz',
10     },
11     NAME => "Coro",
12     VERSION_FROM => "Coro.pm",
13 root 1.2 DIR => ['Coro'],
14 root 1.1 );
15    
16 root 1.3 sub MY::postamble {
17     <<EOF;
18    
19     # set \$VERSION in all modules
20     setver:
21     \$(PERL) -pi -e 's/^(\\s*\\\$\$VERSION\\s*=\\s*).*\$\$/\$\${1}\$(VERSION);/' *.pm Coro/*.pm
22    
23     EOF
24     }
25    
26