/[VRac]/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 124 - (hide annotations)
Sat Aug 4 14:13:28 2007 UTC (16 years, 8 months ago) by dpavlin
File MIME type: text/plain
File size: 1125 byte(s)
re-organize file patch to new VRac layout to ease re-use of code
1 dpavlin 116 use 5.008;
2     use ExtUtils::MakeMaker;
3     # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4     # the contents of the Makefile that is written.
5    
6 dpavlin 124 my $Z80_OPTIONS = '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST ';
7     $Z80_OPTIONS .= '-DDEBUG ';
8    
9 dpavlin 116 WriteMakefile(
10 dpavlin 124 NAME => 'VRac',
11     VERSION_FROM => 'VRac.pm', # finds $VERSION
12 dpavlin 116 PREREQ_PM => {
13     'Class::Accessor' => 0,
14     'Data::Dump' => 0,
15     'Carp' => 0,
16     'Test::Exception' => 0,
17     'SDL' => '2.1.2',
18     }, # e.g., Module::Name => 1.1
19     ($] >= 5.005 ? ## Add these new keywords supported since 5.005
20 dpavlin 124 (ABSTRACT_FROM => 'VRac.pm', # retrieve abstract from module
21 dpavlin 116 AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
22     LIBS => [''],
23     DEFINE => '',
24     INC => '',
25     clean => {
26     'FILES' => 'html',
27     },
28     );
29    
30     sub MY::postamble {
31     return <<"MAKE_FRAG";
32    
33 dpavlin 124 orao: all
34     perl -Mblib -MOrao -le 'Orao->new->run;'
35    
36     galaksija: all
37     perl -Mblib -MGalaksija -le 'Galaksija->new->run;'
38    
39 dpavlin 116 html: all
40     test -d html || mkdir html
41     allpod2xhtml.pl \$(INST_LIB) html
42 dpavlin 120 allpod2xhtml.pl docs html
43 dpavlin 116
44     MAKE_FRAG
45     }
46    

  ViewVC Help
Powered by ViewVC 1.1.26