From 7c68a4fe715c0adbdc281f8b8cbe0bf6770823ea Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 28 Dec 2004 04:07:03 +0000 Subject: [PATCH] minor changes and cleanup, create Changes from Subversion repository log git-svn-id: file:///home/dpavlin/svn/Biblio-Isis/trunk@6 4670fa4d-42ec-0310-ab5b-a66af6943492 --- Changes | 6 ------ Makefile.PL | 29 ++++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 Changes diff --git a/Changes b/Changes deleted file mode 100644 index 72c1999..0000000 --- a/Changes +++ /dev/null @@ -1,6 +0,0 @@ -Revision history for Perl module IsisDB - -0.01 Tue Dec 28 00:41:44 2004 - - original version; created by ExtUtils::ModuleMaker 0.32 - - diff --git a/Makefile.PL b/Makefile.PL index 4c892e2..c2d876b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,8 +5,35 @@ WriteMakefile( NAME => 'IsisDB', VERSION_FROM => 'IsisDB.pm', # finds $VERSION AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)', - ABSTRACT => 'Read CDS/ISIS database', + ABSTRACT_FROM => 'IsisDB.pm', PREREQ_PM => { 'Test::Simple' => 0.44, }, + depend => { + dist => 'changelog', + }, ); + +sub MY::postamble { + return <<'MAKE_MORE'; + +HTML_DIR=pod2html + +html: $(TO_INST_PM) + test -e $(HTML_DIR) || mkdir $(HTML_DIR) + ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" + rm -f pod2htm?.tmp + test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html + +changelog: + svn update && svn -v log > Changes + +tags: + ctags *.p? */*.p? + +cmp: + time ./scripts/dump_isis.pl > isis.txt + time ./scripts/dump_openisis.pl > openisis.txt + +MAKE_MORE +} -- 2.20.1