/[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

Diff of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by dpavlin, Tue Dec 28 00:43:04 2004 UTC revision 40 by dpavlin, Tue Feb 1 15:49:42 2005 UTC
# Line 2  use ExtUtils::MakeMaker; Line 2  use ExtUtils::MakeMaker;
2  # See lib/ExtUtils/MakeMaker.pm for details of how to influence  # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3  # the contents of the Makefile that is written.  # the contents of the Makefile that is written.
4  WriteMakefile(  WriteMakefile(
5          NAME => 'IsisDB',          NAME => 'Biblio::Isis',
6          VERSION_FROM => 'IsisDB.pm', # finds $VERSION          VERSION_FROM => 'lib/Biblio/Isis.pm', # finds $VERSION
7          AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',          AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
8          ABSTRACT => 'Read CDS/ISIS database',          ABSTRACT_FROM => 'lib/Biblio/Isis.pm',
9          PREREQ_PM => {          PREREQ_PM => {
10                  'Test::Simple' => 0.44,                  'Test::More' => 0,
11                    'Carp' => 0,
12                    'File::Glob' => 0,
13                    'File::Spec' => 0,
14            },
15            depend => {
16                    dist => 'changelog',
17          },          },
18  );  );
19    
20    sub MY::postamble {
21            return <<'MAKE_MORE';
22    
23    HTML_DIR=pod2html
24    
25    html: $(TO_INST_PM)
26            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            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    bench:  all
42            cd ./scripts/ && ./bench.pl
43    
44    MAKE_MORE
45    }

Legend:
Removed from v.1  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26