/[Biblio-Isis]/trunk/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 /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 38 - (hide annotations)
Wed Jan 12 19:28:41 2005 UTC (17 years, 7 months ago) by dpavlin
File MIME type: text/plain
File size: 1007 byte(s)
use File::Spec in attempt to support MacPerl

1 dpavlin 1 use ExtUtils::MakeMaker;
2     # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3     # the contents of the Makefile that is written.
4     WriteMakefile(
5 dpavlin 36 NAME => 'Biblio::Isis',
6 dpavlin 37 VERSION_FROM => 'lib/Biblio/Isis.pm', # finds $VERSION
7 dpavlin 1 AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
8 dpavlin 37 ABSTRACT_FROM => 'lib/Biblio/Isis.pm',
9 dpavlin 1 PREREQ_PM => {
10     'Test::Simple' => 0.44,
11 dpavlin 11 'Carp' => 0,
12 dpavlin 18 'File::Glob' => 0,
13 dpavlin 38 'File::Spec' => 0,
14 dpavlin 1 },
15 dpavlin 6 depend => {
16     dist => 'changelog',
17     },
18 dpavlin 1 );
19 dpavlin 6
20     sub MY::postamble {
21     return <<'MAKE_MORE';
22    
23     HTML_DIR=pod2html
24    
25     html: $(TO_INST_PM)
26 dpavlin 37 test -e $(HTML_DIR) && rm -Rf $(HTML_DIR)
27     mkdir $(HTML_DIR)
28     perl -MPod::Simple::HTMLBatch -e 'Pod::Simple::HTMLBatch::go' lib/ pod2html/
29 dpavlin 6 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
30    
31     changelog:
32     svn update && svn -v log > Changes
33    
34     tags:
35     ctags *.p? */*.p?
36    
37     cmp:
38     time ./scripts/dump_isis.pl > isis.txt
39     time ./scripts/dump_openisis.pl > openisis.txt
40    
41 dpavlin 14 bench: all
42     cd ./scripts/ && ./bench.pl
43    
44 dpavlin 6 MAKE_MORE
45     }

  ViewVC Help
Powered by ViewVC 1.1.26