[libapache2-authcookie-perl] 01/04: Remove a useless hierarchy level from the example directory

Niko Tyni ntyni at moszumanska.debian.org
Mon Aug 24 18:22:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libapache2-authcookie-perl.

commit a2db83cb3fbb356bd5ad539985216d8cb0c4fcf0
Author: Niko Tyni <ntyni at debian.org>
Date:   Sun Aug 23 20:25:59 2015 +0300

    Remove a useless hierarchy level from the example directory
    
    The htdocs/ level only has a useless generated index.html with a
    timestamp, so skip that altogether and make the package reproducible.
---
 debian/libapache2-authcookie-perl.examples |  2 +-
 debian/rules                               | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/libapache2-authcookie-perl.examples b/debian/libapache2-authcookie-perl.examples
index 8941912..ef7629a 100644
--- a/debian/libapache2-authcookie-perl.examples
+++ b/debian/libapache2-authcookie-perl.examples
@@ -1,2 +1,2 @@
 t/lib/Sample
-t/htdocs
+t/htdocs/docs
diff --git a/debian/rules b/debian/rules
index 7367270..dcb7a99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,13 +18,13 @@ override_dh_auto_test:
 override_dh_installexamples:
 	dh_installexamples
 	sed -i -e \
-	'1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/logout.pl
+	'1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/docs/logout.pl
 	sed -i -e \
-	'1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/protected/echo_user.pl
+	'1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/docs/protected/echo_user.pl
 	sed -i -e \
-	'1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/echo_cookie.pl
+	'1i #!/usr/bin/perl\n' $(TMP)/usr/share/doc/$(PACKAGE)/examples/docs/echo_cookie.pl
 
 override_dh_fixperms:
 	dh_fixperms
-	chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/echo-user.pl \
-		$(TMP)/usr/share/doc/$(PACKAGE)/examples/htdocs/docs/protected/echo_user.pl
+	chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/docs/echo-user.pl \
+		$(TMP)/usr/share/doc/$(PACKAGE)/examples/docs/protected/echo_user.pl

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-authcookie-perl.git



More information about the Pkg-perl-cvs-commits mailing list