/[SWISH-Split]/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

Contents of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (show annotations)
Fri Dec 17 18:32:34 2004 UTC (16 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 1038 byte(s)
a lot of changes:
- better testing framework
- changed put_slice API (to actually confirm with documentation)
- use swish-e stdin instead of external cat utility
- added tags target

1 use 5.008004;
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 WriteMakefile(
6 NAME => 'SWISH::Split',
7 VERSION_FROM => 'Split.pm', # finds $VERSION
8 PREREQ_PM => {}, # e.g., Module::Name => 1.1
9 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
10 (ABSTRACT_FROM => 'Split.pm', # retrieve abstract from module
11 AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
12 depend => {
13 dist => 'changelog',
14 },
15 );
16
17 sub MY::postamble {
18 return <<'MAKE_MORE';
19
20 HTML_DIR=pod2html
21
22 html: $(TO_INST_PM)
23 test -e $(HTML_DIR) || mkdir $(HTML_DIR)
24 ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
25 rm -f pod2htm?.tmp
26 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
27
28 changelog:
29 svn update && svn -v log > Changes
30
31 tags:
32 ctags *.p?
33
34 MAKE_MORE
35 }

  ViewVC Help
Powered by ViewVC 1.1.26