/[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 36 by dpavlin, Thu Jan 6 20:48:07 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 => '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 => 'Isis.pm',
9          PREREQ_PM => {          PREREQ_PM => {
10                  'Test::Simple' => 0.44,                  'Test::Simple' => 0.44,
11                    'Carp' => 0,
12                    'File::Glob' => 0,
13            },
14            depend => {
15                    dist => 'changelog',
16          },          },
17  );  );
18    
19    sub MY::postamble {
20            return <<'MAKE_MORE';
21    
22    HTML_DIR=pod2html
23    
24    html: $(TO_INST_PM)
25            test -e $(HTML_DIR) || mkdir $(HTML_DIR)
26            ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
27            rm -f pod2htm?.tmp
28            test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
29    
30    changelog:
31            svn update && svn -v log > Changes
32    
33    tags:
34            ctags *.p? */*.p?
35    
36    cmp:
37            time ./scripts/dump_isis.pl > isis.txt
38            time ./scripts/dump_openisis.pl > openisis.txt
39    
40    bench:  all
41            cd ./scripts/ && ./bench.pl
42    
43    MAKE_MORE
44    }

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

  ViewVC Help
Powered by ViewVC 1.1.26