/[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 60 - (hide annotations)
Sun Jul 9 13:20:06 2006 UTC (16 years, 5 months ago) by dpavlin
File MIME type: text/plain
File size: 1222 byte(s)
cpan target and tweaking of distribution files
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 dpavlin 40 'Test::More' => 0,
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 53 test -e $(HTML_DIR) && rm -Rf $(HTML_DIR) || true
27 dpavlin 37 mkdir $(HTML_DIR)
28 dpavlin 53 allpod2xhtml.pl lib/ $(HTML_DIR)
29 dpavlin 6 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
30    
31     changelog:
32 dpavlin 60 svk update && svk -v log > Changes
33 dpavlin 6
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 60 cpan:
45     make clean
46     rm -f Biblio-Isis-*.tar.gz
47     perl Makefile.PL
48     make changelog
49     make dist
50     make disttest
51     @echo
52     @echo -n "Upload" Biblio-Isis-*.tar.gz "to CPAN? [y/N]:"
53     @read upload && test "$$upload" == "y" && cpan-upload -verbose Biblio-Isis-*.tar.gz
54 dpavlin 6 MAKE_MORE
55     }

  ViewVC Help
Powered by ViewVC 1.1.26