From 658f3957b839a8b130b00e7a0df81a1b0422491a Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 28 Jul 2009 23:01:19 -0400 Subject: [PATCH] Make into a global executable (e.g. /usr/local/bin/check_postgres.pl) Rearrange the Makefile.PL a bit. --- Makefile.PL | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 97ed99b2a..8278bb4b6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -41,18 +41,19 @@ print "Configuring check_postgres $VERSION\n"; my %opts = ( NAME => 'check_postgres', - VERSION_FROM => 'check_postgres.pl', - AUTHOR => 'Greg Sabino Mullane ', ABSTRACT => 'Postgres monitoring script', + AUTHOR => 'Greg Sabino Mullane ', PREREQ_PM => { 'ExtUtils::MakeMaker' => '6.11', 'Test::More' => '0.61', 'version' => '0', }, - NEEDS_LINKING => 0, NO_META => 1, - NORECURS => 1, + VERSION_FROM => 'check_postgres.pl', + EXE_FILES => ['check_postgres.pl'], MAN1PODS => {}, + NEEDS_LINKING => 0, + NORECURS => 1, clean => { FILES => 'test_database_check_postgres/ test_database_check_postgres2/ /tmp/cptesting_socket' }, ); -- 2.39.5