/[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

Annotation of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33 - (hide annotations)
Thu Jan 5 17:54:18 2006 UTC (18 years, 2 months ago) by dpavlin
File MIME type: text/plain
File size: 1174 byte(s)
implemetation of shuttle_url (using IO::Socket::INET instead of LWP for speed)
1 dpavlin 2 use 5.008;
2     use ExtUtils::MakeMaker;
3     # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4     # the contents of the Makefile that is written.
5    
6     # now write Makefile
7     WriteMakefile(
8     NAME => 'Search::Estraier',
9     VERSION_FROM => 'Estraier.pm', # finds $VERSION
10     PREREQ_PM => {
11     'Carp' => 0,
12 dpavlin 9 'Test::Simple' => 0,
13     'Test::Exception' => 0,
14 dpavlin 33 'URI' => 0,
15     'URI::Escape' => 0,
16     'IO::Socket::INET' => 0,
17 dpavlin 2 }, # e.g., Module::Name => 1.1
18     ($] >= 5.005 ? ## Add these new keywords supported since 5.005
19 dpavlin 3 (ABSTRACT_FROM => 'Estraier.pm', # retrieve abstract from module
20 dpavlin 2 AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
21     clean => { FILES => "Makefile.old pod2html" },
22     );
23    
24     sub MY::postamble {
25     return <<'MAKE_MORE';
26    
27     HTML_DIR=pod2html
28    
29     html: $(TO_INST_PM)
30     test -e $(HTML_DIR) || mkdir $(HTML_DIR)
31     ls $(MAN1PODS) $(MAN3PODS) | xargs -i sh -c 'pod2xhtml.pl < {} > pod2html/`basename {} | cut -d. -f1`.html'
32     rm -f pod2htm?.tmp
33     test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
34    
35     changelog:
36     svn update && svn -v log > Changes
37    
38     tags:
39     ctags *.p?
40    
41     MAKE_MORE
42     }

  ViewVC Help
Powered by ViewVC 1.1.26