=head1 VARIABLES
-=head2 NAME, VERSION, ABSTRACT, AUTHOR
+=head2 NAME, VERSION_FROM, ABSTRACT, AUTHOR
Basic metadata about this software.
WriteMakefile(
NAME => 'koha',
- VERSION => strftime('2.9.%Y%m%d%H',gmtime),
+ #VERSION => strftime('2.9.%Y%m%d%H',gmtime),
+ VERSION_FROM => 'C4/Context.pm',
ABSTRACT => 'Award-winning integrated library system (ILS) and Web OPAC',
AUTHOR => 'Koha Developers <koha-devel@nongnu.org>',
NO_META => 1,
'CGI' => 3.15,
'CGI::Carp' => 1.29,
'CGI::Session' => '4.10',
+'Class::Accessor' => 0.30,
+'DBD::mysql' => 3.0008,
'DBI' => 1.53,
'Data::Dumper' => 2.121_08,
'Data::Random' => 0.05,
'Date::Calc' => 5.4,
'Date::Manip' => 5.44,
'Digest::MD5' => 2.36,
+'Event' => 1.06,
'File::Temp' => 0.16,
'GD::Barcode::UPCE' => 1.1,
'Getopt::Long' => 2.35,
'Getopt::Std' => 1.05,
+'HTML::Template' => 2.8,
'HTML::Template::Pro' => 0.65,
'HTML::Tree' => 3.1901,
'HTTP::Cookies' => 1.39,
'MIME::Base64' => 3.07,
'MIME::QuotedPrint' => 3.07,
'Mail::Sendmail' => 0.79,
+'Net::Z3950' => 0,
+'Net::Z3950::ZOOM' => 1.16,
'PDF::API2' => 2.000,
'PDF::API2::Page' => 2.000,
'PDF::API2::Util' => 2.000,
'XML::LibXML' => 1.59,
'XML::SAX::ParserFactory' => 1.01,
'XML::Simple' => 2.14,
+'XML::RSS' => 1.31,
'ZOOM' => 0,
},
# File tree mapping
PM => map_tree(),
+ # disable tests
+ 'test' => {TESTS => 't/dummy.t'},
+
# CONFIGURE => sub {
# # Ask for options with prompt($question,$default) calls here?
# return { macro => { 'export TEST' => '755' } }
# },
-# PL_FILES => { # generator => target
+ PL_FILES => { # generator => target(s)
+ 'rewrite-config.PL' => [
+ '$(INST_LIBDIR)/koha/etc/koha-conf.xml',
+ '$(INST_LIBDIR)/koha/etc/koha-httpd.conf',
+ '$(INST_LIBDIR)/koha/etc/zebra-biblios.cfg',
+ '$(INST_LIBDIR)/koha/etc/zebra-authorities.cfg'
+ ]
+ }
# 'opac/getfromintranet.PL' => ['$(INST_LIBDIR)/opac/cgi-bin/detail.pl','$(INST_LIBDIR)/opac/cgi-bin/moredetail.pl','$(INST_LIBDIR)/opac/cgi-bin/search.pl','$(INST_LIBDIR)/opac/cgi-bin/subjectsearch.pl','$(INST_LIBDIR)/opac/cgi-bin/logout.pl'],
# 'misc/koha.conf.PL' => '$(INST_LIBDIR)/../etc/koha.conf',
# 'misc/apache-koha.conf.PL' => '$(INST_LIBDIR)/../etc/apache-koha.conf',
=pod
CGIs are copied to koha/cgi-bin
-and other scripts to koha/examples.
+and other scripts to koha/scripts.
=cut
- # Misc scripts to koha/examples
- foreach my $src (glob("*.pl"),glob("*/*.pl"),glob("installer/*.pm"),glob("*/*/*.pl"),glob("*/*/*/*.pl")) {
+ foreach my $src ("mainpage.pl","help.pl",glob("*/*.pl"),glob("installer/*.pm"),glob("*/*/*.pl"),glob("*/*/*/*.pl")) {
if ($src =~ /(misc|updater|rss)\//) {
$result{$src} = '$(INST_LIBDIR)/koha/scripts/'.$src;
} else {
$result{$src} = '$(INST_LIBDIR)/koha/templates/'.$src;
}
}
+=pod
+
+etc files are copied to koha/etc
+
+=cut
+ # Misc etc to koha/etc
+ foreach my $src (glob("etc/*")) {
+ $result{$src} = '$(INST_LIBDIR)/koha/'.$src;
+ }
+
return \%result;
}
ExtUtils::MakeMaker(3)
+=head1 AUTHOR
+
+MJ Ray mjr at phonecoop.coop
+
=cut