File: Makefile.PL

package info (click to toggle)
libpragmatic-perl 1.7-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid
  • size: 92 kB
  • sloc: perl: 45; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 390 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
22
require 5.005;
use strict;

use ExtUtils::MakeMaker;

WriteMakefile
  (AUTHOR => 'B. K. Oxley (binkley) <binkley@alumni.rice.edu>',
   ABSTRACT => 'Exporter with pragma support',
   NAME => 'Pragmatic',
   VERSION_FROM => 'lib/Pragmatic.pm');

package MY;

# Auto-generate the README from lib/Pramatic.pm:
sub postamble {
  q|
README: $(VERSION_FROM)
	perldoc -t $< > $@

all:: README
|;
}