From 0dc6d388288b58c28310765422981d8fc94cc553 Mon Sep 17 00:00:00 2001 From: mertz Date: Thu, 4 Jan 2001 13:12:24 +0000 Subject: Makefile.PL (and debian/rules are enhanced to take into account the ivyprobe.pl script and to install it in /usr/bin/ --- Makefile.PL | 6 ++++++ debian/rules | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index b3f287f..c1a0bc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,4 +4,10 @@ use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'Ivy', 'VERSION_FROM' => 'Ivy.pm', # finds $VERSION + 'PREREQ_PM' => { + 'Time::Gettimeofday' => 0.01, + }, + 'PM' => {'Ivy.pm' => '$(INST_LIBDIR)/Ivy.pm'}, + + 'EXE_FILES' => [ qw(example/ivyprobe.pl) ], ); diff --git a/debian/rules b/debian/rules index 19b8182..ef62577 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ endif TMP=`pwd`/debian/tmp archlib = `$(PERL) -MConfig -e 'print $$Config{installarchlib}'` -config = INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)/$(archlib) +config = INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(archlib) INSTALLSCRIPT=$(TMP)/usr/bin build: $(checkdir) @@ -30,7 +30,7 @@ binary-indep: checkroot build $(checkdir) -rm -rf debian/tmp install -d debian/tmp - $(MAKE) pure_install + $(MAKE) pure_install # Must have debmake installed for this to work. Otherwise please copy # /usr/bin/debstd into the debian directory and change debstd to debian/debstd dh_perl -- cgit v1.1