From 95eed647fb4de2658c33417a93231040d42c0747 Mon Sep 17 00:00:00 2001 From: tetragon Date: Sat, 22 Sep 2007 15:59:00 +0000 Subject: [PATCH] Actually committing the switch away from Moduel::Build git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@1645 4979c152-3d1c-0410-bac9-87ea11338e46 --- Build.PL | 47 ++--------------------------------------------- INSTALL | 12 ++++++------ 2 files changed, 8 insertions(+), 51 deletions(-) diff --git a/Build.PL b/Build.PL index c5f6fcde39..f77966e6a5 100644 --- a/Build.PL +++ b/Build.PL @@ -1,45 +1,2 @@ -use strict; -use warnings; - -use Module::Build; - -my $build = Module::Build->new ( - dist_name => 'LedgerSMB', - dist_version => '1.2.99', - license => 'GPL', - requires => { - 'perl' => '>= 5.8.1', - 'Data::Dumper' => 0, - 'Locale::Maketext' => 0, - 'Locale::Maketext::Lexicon' => '>= 0.56', - 'MIME::Base64' => 0, - 'Digest::MD5' => 0, - 'HTML::Entities' => 0, - 'DBI' => '>= 0.48', - 'DBD::Pg' => 0, - 'Math::BigFloat' => 0, - 'IO::File' => 0, - 'Encode' => 0, - 'Locale::Country' => 0, - 'Locale::Language' => 0, - 'Time::Local' => 0, - 'Cwd' => 0, - 'Config::Std' => 0, - 'MIME::Lite' => 0, - 'Error' => 0, - 'Template' => '>= 2.14', - 'Template::Latex' => 0, - 'Test::More' => 0, - 'Test::Trap' => 0, - 'Test::Exception' => 0, - }, - recommends => { - 'HTML::LinkExtor' => 0, - 'FileHandle' => 0, - 'Getopt::Long' => 0, - 'Net::TCLink' => 0, - 'Parse::RecDescent' => 0, - }, -); - -$build->create_build_script; +# Keeping this file for nicer coverage test interface +require 'Makefile.PL'; diff --git a/INSTALL b/INSTALL index 3fcb101352..2da48d166b 100644 --- a/INSTALL +++ b/INSTALL @@ -16,15 +16,15 @@ MANUAL INSTALL: 2) Check Dependencies -The Build.PL script can be used to test for unmet dependencies and run other +The Makefile.PL script can be used to test for unmet dependencies and run other tests. It doesn't install anything yet, but it will tell you what you are -missing. To check for dependencies, run "perl Build.PL" from the command line. -Missing dependencies can generally be installed via a Linux distributor's -package manager or by CPAN. (Build.PL itself uses Module::Build, which is -available in packages like perl-Module-Build or libmodule-build-perl.) +missing. To check for dependencies, run "perl Makefile.PL" from the command +line. Missing dependencies can generally be installed via a Linux distributor's +package manager or by CPAN. (Makefile.PL itself uses Module::Install, which is +available in packages like perl-Module-Install or libmodule-install-perl.) Once this is done and dependencies are satisfied, you can check to see whether -the installation nominally works by running "./Build test" from the command +the installation nominally works by running "make test" from the command line. The test suites currently check to make sure all the perl modules load and that a number of numeric tests are passed.