[libnet-dict-perl] 03/04: d/rules: rename dict (exec and man page) to pdict

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Tue Jul 21 16:44:01 UTC 2015


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

kanashiro-guest pushed a commit to branch master
in repository libnet-dict-perl.

commit fce329b72f6858121111e1d680756bb45c426170
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Tue Jul 21 13:31:04 2015 -0300

    d/rules: rename dict (exec and man page) to pdict
---
 debian/rules | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index bd33a33..242e381 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,16 @@
 #!/usr/bin/make -f
 
-TEST_FILES=$(ls t/*.t)
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
 	dh $@
 
+# Skip all tests, they depend of Internet access
 override_dh_auto_test:
-	dh_auto_test -- TEST_FILES="$(TEST_FILES)"
+
+override_dh_auto_install:
+	dh_auto_install
+	mv $(TMP)/usr/bin/dict $(TMP)/usr/bin/pdict
+	mv $(TMP)/usr/share/man/man1/dict.1p \
+		$(TMP)/usr/share/man/man1/pdict.1p

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



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