/[Search-Estraier]/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 3 by dpavlin, Wed Jan 4 13:13:06 2006 UTC revision 162 by dpavlin, Tue Jun 27 22:50:25 2006 UTC
# Line 9  WriteMakefile( Line 9  WriteMakefile(
9      VERSION_FROM      => 'Estraier.pm', # finds $VERSION      VERSION_FROM      => 'Estraier.pm', # finds $VERSION
10      PREREQ_PM         => {      PREREQ_PM         => {
11                  'Carp' => 0,                  'Carp' => 0,
12                    'Test::Simple' => 0,
13                    'Test::Exception' => 0,
14                    'URI' => 0,
15                    'LWP::UserAgent' => 0,
16                    'MIME::Base64' => 0,
17                    'URI::Escape' => 0,
18      }, # e.g., Module::Name => 1.1      }, # e.g., Module::Name => 1.1
19      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
20        (ABSTRACT_FROM  => 'Estraier.pm', # retrieve abstract from module        (ABSTRACT_FROM  => 'Estraier.pm', # retrieve abstract from module
21         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
22         clean    => { FILES => "Makefile.old pod2html" },         clean    => { FILES => "Makefile Makefile.old pod2html" },
23  );  );
24    
25  sub MY::postamble {  sub MY::postamble {
# Line 28  html: $(TO_INST_PM) Line 34  html: $(TO_INST_PM)
34          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
35    
36  changelog:  changelog:
37          svn update && svn -v log > Changes          svk log -v > Changes
38    
39  tags:  tags:
40          ctags *.p?          ctags *.p?
41    
42    cpan:
43            make clean
44            rm -f Search-Estraier-*.tar.gz
45            perl Makefile.PL
46            make changelog
47            make dist
48            make disttest
49            sudo /etc/init.d/hyperestraier stop
50            make disttest
51            sudo /etc/init.d/hyperestraier start
52            @echo
53            @echo -n "Upload" Search-Estraier-*.tar.gz "to CPAN? [y/N]:"
54            @read upload && test "$$upload" == "y" && cpan-upload -verbose Search-Estraier-*.tar.gz
55    
56  MAKE_MORE  MAKE_MORE
57  }  }

Legend:
Removed from v.3  
changed lines
  Added in v.162

  ViewVC Help
Powered by ViewVC 1.1.26