1 |
dpavlin |
1 |
use ExtUtils::MakeMaker; |
2 |
|
|
# See lib/ExtUtils/MakeMaker.pm for details of how to influence |
3 |
|
|
# the contents of the Makefile that is written. |
4 |
|
|
WriteMakefile( |
5 |
|
|
NAME => 'IsisDB', |
6 |
|
|
VERSION_FROM => 'IsisDB.pm', # finds $VERSION |
7 |
|
|
AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)', |
8 |
dpavlin |
6 |
ABSTRACT_FROM => 'IsisDB.pm', |
9 |
dpavlin |
1 |
PREREQ_PM => { |
10 |
|
|
'Test::Simple' => 0.44, |
11 |
dpavlin |
11 |
'Carp' => 0, |
12 |
dpavlin |
1 |
}, |
13 |
dpavlin |
6 |
depend => { |
14 |
|
|
dist => 'changelog', |
15 |
|
|
}, |
16 |
dpavlin |
1 |
); |
17 |
dpavlin |
6 |
|
18 |
|
|
sub MY::postamble { |
19 |
|
|
return <<'MAKE_MORE'; |
20 |
|
|
|
21 |
|
|
HTML_DIR=pod2html |
22 |
|
|
|
23 |
|
|
html: $(TO_INST_PM) |
24 |
|
|
test -e $(HTML_DIR) || mkdir $(HTML_DIR) |
25 |
|
|
ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" |
26 |
|
|
rm -f pod2htm?.tmp |
27 |
|
|
test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html |
28 |
|
|
|
29 |
|
|
changelog: |
30 |
|
|
svn update && svn -v log > Changes |
31 |
|
|
|
32 |
|
|
tags: |
33 |
|
|
ctags *.p? */*.p? |
34 |
|
|
|
35 |
|
|
cmp: |
36 |
|
|
time ./scripts/dump_isis.pl > isis.txt |
37 |
|
|
time ./scripts/dump_openisis.pl > openisis.txt |
38 |
|
|
|
39 |
dpavlin |
14 |
bench: all |
40 |
|
|
cd ./scripts/ && ./bench.pl |
41 |
|
|
|
42 |
dpavlin |
6 |
MAKE_MORE |
43 |
|
|
} |