[libhttp-dav-perl] 06/15: Switch to short-form debian/rules
Florian Schlichting
fsfs at moszumanska.debian.org
Mon Jan 16 20:58:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libhttp-dav-perl.
commit 86cb52fc75309619be9cb50af0c7851d7f42c35c
Author: Florian Schlichting <fsfs at debian.org>
Date: Mon Jan 16 21:00:11 2017 +0100
Switch to short-form debian/rules
---
debian/rules | 54 +++---------------------------------------------------
1 file changed, 3 insertions(+), 51 deletions(-)
diff --git a/debian/rules b/debian/rules
index 99eae97..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,52 +1,4 @@
-#! /usr/bin/make -f
-# -*-makefile-*-
-# debian/rules file for libhttp-dav-perl
+#!/usr/bin/make -f
-PERL ?= /usr/bin/perl
-
-package := $(shell sed -ne 's/^Package: *//p' debian/control)
-dest := $(CURDIR)/debian/$(package)
-
-version := $(shell dpkg-parsechangelog | \
- sed -ne 's/Version: *\([0-9]\+:\)*//p')
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor PERL=$(PERL)
- $(MAKE) LD_RUN_PATH=
- touch $@
-
-clean: checkroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
-
-binary-indep: checkroot build
- dh_clean
- dh_installdirs
-
- $(MAKE) pure_install DESTDIR=$(dest)
-
- dh_installdocs README
- dh_installexamples
- dh_installchangelogs Changes
- dh_compress
- dh_fixperms
- dh_perl
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-arch: checkroot build
-
-binary: binary-indep binary-arch
-
-checkroot:
- dh_testdir
- dh_testroot
-
-.PHONY: binary binary-arch binary-indep clean checkroot build
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-dav-perl.git
More information about the Pkg-perl-cvs-commits
mailing list