From: Andrew Ruthven Date: Mon, 5 Jul 2010 21:36:24 +0000 (+1200) Subject: Change package name, remove files we drop in /usr/share/perl5. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=087fb066cf80d7a20eb3bb76dcf2804e89c7c02d;p=librt-authen-externalauth-perl.git Change package name, remove files we drop in /usr/share/perl5. We don't want the files to be in there really. --- 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