/[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 18 - (hide annotations)
Thu Dec 30 22:40:53 2004 UTC (19 years, 3 months ago) by dpavlin
File MIME type: text/plain
File size: 1024 byte(s)
Deduce file names and extensions using glob case insesitive. This fixes
potential problem with extension names.
Extracted code to read .CNT file into read_cnt function.

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     NAME => 'IsisDB',
6     VERSION_FROM => 'IsisDB.pm', # finds $VERSION
7     AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
8 dpavlin 6 ABSTRACT_FROM => 'IsisDB.pm',
9 dpavlin 1 PREREQ_PM => {
10     'Test::Simple' => 0.44,
11 dpavlin 11 'Carp' => 0,
12 dpavlin 18 'File::Glob' => 0,
13 dpavlin 1 },
14 dpavlin 6 depend => {
15     dist => 'changelog',
16     },
17 dpavlin 1 );
18 dpavlin 6
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 dpavlin 14 bench: all
41     cd ./scripts/ && ./bench.pl
42    
43 dpavlin 6 MAKE_MORE
44     }

  ViewVC Help
Powered by ViewVC 1.1.26