re-organize directories, add CDS/ISIS manual -- part about file structure
[Biblio-Isis] / Makefile.PL
index 850cd73..8b70420 100644 (file)
@@ -3,9 +3,9 @@ use ExtUtils::MakeMaker;
 # the contents of the Makefile that is written.
 WriteMakefile(
        NAME => 'Biblio::Isis',
-       VERSION_FROM => 'Isis.pm', # finds $VERSION
+       VERSION_FROM => 'lib/Biblio/Isis.pm', # finds $VERSION
        AUTHOR => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
-       ABSTRACT_FROM => 'Isis.pm',
+       ABSTRACT_FROM => 'lib/Biblio/Isis.pm',
        PREREQ_PM => {
                'Test::Simple' => 0.44,
                'Carp' => 0,
@@ -22,9 +22,9 @@ sub MY::postamble {
 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 -e $(HTML_DIR) && rm -Rf $(HTML_DIR)
+       mkdir $(HTML_DIR)
+       perl -MPod::Simple::HTMLBatch -e 'Pod::Simple::HTMLBatch::go' lib/ pod2html/
        test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
 
 changelog: