/[notice-sender]/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 20 by dpavlin, Sun May 15 21:19:26 2005 UTC revision 27 by dpavlin, Mon May 16 16:25:14 2005 UTC
# Line 4  use ExtUtils::MakeMaker; Line 4  use ExtUtils::MakeMaker;
4  # the contents of the Makefile that is written.  # the contents of the Makefile that is written.
5  WriteMakefile(  WriteMakefile(
6      NAME              => 'Nos',      NAME              => 'Nos',
7      VERSION_FROM      => 'lib/Nos.pm', # finds $VERSION      VERSION_FROM      => 'Nos.pm', # finds $VERSION
8      PREREQ_PM         => {      PREREQ_PM         => {
9          'Class::DBI::Loader',          'Class::DBI::Loader',
10          'Getopt::Long',          'Getopt::Long',
# Line 13  WriteMakefile( Line 13  WriteMakefile(
13          'Carp',          'Carp',
14      }, # e.g., Module::Name => 1.1      }, # e.g., Module::Name => 1.1
15      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
16        (ABSTRACT_FROM  => 'lib/Nos.pm', # retrieve abstract from module        (ABSTRACT_FROM  => 'Nos.pm', # retrieve abstract from module
17         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
18  );  );
19    
# Line 25  HTML_DIR=pod2html Line 25  HTML_DIR=pod2html
25  html: $(TO_INST_PM)  html: $(TO_INST_PM)
26          test -e $(HTML_DIR) || mkdir $(HTML_DIR)          test -e $(HTML_DIR) || mkdir $(HTML_DIR)
27          ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"          ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
28            ls *.cgi | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.* --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
29          rm -f pod2htm?.tmp          rm -f pod2htm?.tmp
30          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
31    
# Line 37  tags: Line 38  tags:
38  db=notices  db=notices
39    
40  init:  init:
41          dropdb $(db)          dropdb $(db) || true
42          createdb $(db)          createdb $(db)
43          psql $(db) < schema.sql          psql $(db) < schema.sql
44    

Legend:
Removed from v.20  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.26