]> git.etc.gen.nz Git - librt-authen-externalauth-perl.git/commitdiff
Change package name, remove files we drop in /usr/share/perl5.
authorAndrew Ruthven <andrew@etc.gen.nz>
Mon, 5 Jul 2010 21:36:24 +0000 (09:36 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Mon, 5 Jul 2010 21:36:24 +0000 (09:36 +1200)
We don't want the files to be in there really.

debian/rules

index 6071d99472c1c1ed01305baec9b5179c8127d475..e5938b9b7d11c282daa17d3cc104e3349754cf57 100755 (executable)
@@ -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