[Pkg-voip-commits] [libasterisk-agi-perl] 03/10: Switch to debhelper
tzafrir at debian.org
tzafrir at debian.org
Sat Aug 22 10:09:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository libasterisk-agi-perl.
commit 0dcbaa7fb69fbb4497f62f7f4c0703fec98eacea
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Sat Aug 22 00:31:17 2015 +0200
Switch to debhelper
---
debian/rules | 43 ++-----------------------------------------
1 file changed, 2 insertions(+), 41 deletions(-)
diff --git a/debian/rules b/debian/rules
index 59f3b1a..180d424 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,45 +17,8 @@ FILENAME := libasterisk-agi-perl_$(UPVERSION).orig.tar.gz
UPFILENAME := asterisk-perl-$(UPVERSION).tar.gz
URL := http://asterisk.gnuinter.net/files/$(UPFILENAME)
-build: build-stamp
-
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- [ ! -f Makefile ] && perl Makefile.PL
- $(MAKE) test
- touch build-stamp
-
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- $(MAKE) install_vendor DESTDIR=$(TMP)
- [ ! -d $(CURDIR)/debian/libasterisk-agi-perl/usr/share/perl5 ] || \
- rmdir --parents --ignore-fail-on-non-empty \
- $(CURDIR)/debian/libasterisk-agi-perl/usr/share/perl5
-binary-arch:
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs CHANGES
- dh_installdocs
- dh_compress
- dh_installexamples examples/*
- dh_fixperms
- dh_installdeb
- dh_perl
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+%:
+ dh $@
print-version:
@@echo "Debian version: $(DEBVERSION)"
@@ -67,5 +30,3 @@ get-orig-source: print-version
@@echo Downloading $(UPFILENAME) from $(URL) ....
@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/libasterisk-agi-perl.git
More information about the Pkg-voip-commits
mailing list