/[bibulus]/bibulus/Makefile.PL
ViewVC logotype

Diff of /bibulus/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by twid, Wed Apr 16 20:59:32 2003 UTC revision 1.5 by twid, Sun Jun 22 23:05:12 2003 UTC
# Line 1  Line 1 
1  use 5.006;  use 5.008;
2  use ExtUtils::MakeMaker;  use ExtUtils::MakeMaker;
3    
4  my $prefix;  # for use in constants and postamble  my $prefix;  # for use in constants and postamble
# Line 7  my $prefix;  # for use in constants and Line 7  my $prefix;  # for use in constants and
7  # the contents of the Makefile that is written.  # the contents of the Makefile that is written.
8  WriteMakefile(  WriteMakefile(
9      'NAME'              => 'Bibulus',      'NAME'              => 'Bibulus',
10      'VERSION'           => '0.03',      'VERSION'           => '0.04',
11      'EXE_FILES'         => [],      'EXE_FILES'         => [preproclang],
12      'PREREQ_PM'         => {XML::Twig => 2.02},      'PREREQ_PM'         => {XML::Twig => 2.02},
13      ($] >= 5.005 ?    ## Add these new keywords supported since 5.005      ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
14        (ABSTRACT_FROM => 'Bibulus.pm',        (ABSTRACT_FROM => 'Bibulus.pm',
# Line 38  sub postamble { Line 38  sub postamble {
38      chomp($dir = `kpsewhich --expand-var=\'\$HOMETEXMF\'`);      chomp($dir = `kpsewhich --expand-var=\'\$HOMETEXMF\'`);
39    }    }
40    
   # plain cp will fail if the directory doesn't exist  
   # -- which command should be used instead?  
41    return <<"EOF";    return <<"EOF";
42  install::  install::
43          \@echo Now updating the TEXMF tree...          \@echo Now updating the TEXMF tree...
44            install -d $dir/bibtex/bst/misc
45          cp BibTeX/bib2xml.bst $dir/bibtex/bst/misc/          cp BibTeX/bib2xml.bst $dir/bibtex/bst/misc/
46            install -d $dir/tex/latex/misc
47          cp LaTeX/bibulus.sty $dir/tex/latex/misc/          cp LaTeX/bibulus.sty $dir/tex/latex/misc/
48          mktexlsr          mktexlsr $dir
49    
50  EOF  EOF
51  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26