[libdancer-session-cookie-perl] 05/06: d/rules: remove README.pod and install README.txt to the doc directory
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Wed Sep 23 10:20:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository libdancer-session-cookie-perl.
commit f62fad3779d5dc72abe906bb3e65f5e9b15cf6a9
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Wed Sep 23 11:56:19 2015 +0200
d/rules: remove README.pod and install README.txt to the doc directory
---
debian/rules | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..0099ad3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
#!/usr/bin/make -f
+pkg := $(shell dpkg-parsechangelog --show-field=Source)
+tmp := $(CURDIR)/debian/$(pkg)
+
%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+ rm --verbose $(tmp)/usr/share/perl5/Dancer/Session/README.pod
+override_dh_installdocs:
+ dh_installdocs
+ pod2text $(CURDIR)/README.pod > $(tmp)/usr/share/doc/$(pkg)/README.txt
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdancer-session-cookie-perl.git
More information about the Pkg-perl-cvs-commits
mailing list