Make into a global executable (e.g. /usr/local/bin/check_postgres.pl)
authorGreg Sabino Mullane <greg@endpoint.com>
Wed, 29 Jul 2009 03:01:19 +0000 (23:01 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Wed, 29 Jul 2009 03:01:19 +0000 (23:01 -0400)
Rearrange the Makefile.PL a bit.

Makefile.PL

index 97ed99b2a8f34d1fa6eca666c19337efa3bbf901..8278bb4b6d92274efbb530e5a0fe1e791e951a93 100644 (file)
@@ -41,18 +41,19 @@ print "Configuring check_postgres $VERSION\n";
 my %opts =
        (
         NAME           => 'check_postgres',
-        VERSION_FROM   => 'check_postgres.pl',
-        AUTHOR         => 'Greg Sabino Mullane <greg@endpoint.com>',
         ABSTRACT       => 'Postgres monitoring script',
+        AUTHOR         => 'Greg Sabino Mullane <greg@endpoint.com>',
         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' },
 );