/[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 6 by dpavlin, Tue Dec 28 04:07:03 2004 UTC revision 60 by dpavlin, Sun Jul 9 13:20:06 2006 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_FROM => 'IsisDB.pm',          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 => {          depend => {
16                  dist => 'changelog',                  dist => 'changelog',
# Line 20  sub MY::postamble { Line 23  sub MY::postamble {
23  HTML_DIR=pod2html  HTML_DIR=pod2html
24    
25  html: $(TO_INST_PM)  html: $(TO_INST_PM)
26          test -e $(HTML_DIR) || mkdir $(HTML_DIR)          test -e $(HTML_DIR) && rm -Rf $(HTML_DIR) || true
27          ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"          mkdir $(HTML_DIR)
28          rm -f pod2htm?.tmp          allpod2xhtml.pl lib/ $(HTML_DIR)
29          test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html          test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
30    
31  changelog:  changelog:
32          svn update && svn -v log > Changes          svk update && svk -v log > Changes
33    
34  tags:  tags:
35          ctags *.p? */*.p?          ctags *.p? */*.p?
# Line 35  cmp: Line 38  cmp:
38          time ./scripts/dump_isis.pl > isis.txt          time ./scripts/dump_isis.pl > isis.txt
39          time ./scripts/dump_openisis.pl > openisis.txt          time ./scripts/dump_openisis.pl > openisis.txt
40    
41    bench:  all
42            cd ./scripts/ && ./bench.pl
43    
44    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  MAKE_MORE  MAKE_MORE
55  }  }

Legend:
Removed from v.6  
changed lines
  Added in v.60

  ViewVC Help
Powered by ViewVC 1.1.26