File: Makefile.PL

package info (click to toggle)
pod2pdf 0.42-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 332 kB
  • ctags: 240
  • sloc: perl: 795; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,043 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id$
use ExtUtils::MakeMaker;

eval "use Test::Manifest";

unless( $@ )
	{
	no warnings;
	
	*ExtUtils::MM_Any::test_via_harness = sub
		{
		my($self, $perl, $tests) = @_;
	
		return qq|	$perl "-MTest::Manifest" | .
			qq|"-e" "run_t_manifest(\$(TEST_VERBOSE), '\$(INST_LIB)', | .
			qq|'\$(INST_ARCHLIB)')"\n|;
		};
	}



WriteMakefile(
		'NAME'         => 'pod2pdf',
                'AUTHOR'       => 'Jon Allen <jj@jonallen.info>',
                'ABSTRACT'     => 'Converts Pod to PDF format',
                'VERSION_FROM' => 'lib/App/pod2pdf.pm',
		'EXE_FILES'    => [ 'bin/pod2pdf' ],            
		'PREREQ_PM'    => { 'PDF::API2'        => 0.60,
                                    'Pod::Parser'      => 0,
                                    'Pod::ParseLink'   => 0,
                                    'Pod::Escapes'     => 0,
                                    'Getopt::ArgvFile' => 0 },
		'MAN1PODS'     => {
			'bin/pod2pdf' => "\$(INST_MAN1DIR)/pod2pdf.1p",
			},

		clean => { FILES => "*.bak pod2pdf-*" },
		);
        
1;