From 087fb066cf80d7a20eb3bb76dcf2804e89c7c02d Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 6 Jul 2010 09:36:24 +1200 Subject: [PATCH] Change package name, remove files we drop in /usr/share/perl5. We don't want the files to be in there really. --- debian/rules | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/debian/rules b/debian/rules index 6071d99..e5938b9 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,7 @@ build: build-stamp build-stamp: dh_testdir # Add commands to compile the package here - $(PERL) Makefile.PL INSTALLDIRS=vendor PREFIX=/usr/share/request-tracker3.8 + $(PERL) Makefile.PL INSTALLDIRS=vendor PREFIX=/usr/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth $(MAKE) $(MAKE) test touch $@ @@ -38,9 +38,7 @@ install-stamp: build-stamp dh_clean -k # Add commands to install the package into $(TMP) here $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr - [ ! -d $(TMP)/usr/lib/perl5 ] || \ - rmdir --ignore-fail-on-non-empty --parents --verbose \ - $(TMP)/usr/lib/perl5 + rm -rf debian/rt3.8-extension-authen-externalauth/usr/share/perl5 touch $@ binary-arch: @@ -52,7 +50,7 @@ binary-indep: build install dh_installdocs README dh_installchangelogs ChangeLog dh_installexamples etc/RT_SiteConfig.pm - dh_perl usr/share/request-tracker3.8/lib + dh_perl usr/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth dh_compress dh_fixperms dh_installdeb -- 2.30.2