[libcrypt-openssl-random-perl] 02/09: debian/rules: use three-line dh(1) variant.

gregor herrmann gregoa at debian.org
Fri Feb 21 18:19:51 UTC 2014


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

gregoa pushed a commit to branch master
in repository libcrypt-openssl-random-perl.

commit 260e0812b3cf449eedd583c96d2ac3488599d595
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Feb 21 19:11:43 2014 +0100

    debian/rules: use three-line dh(1) variant.
---
 debian/rules | 81 ++----------------------------------------------------------
 1 file changed, 2 insertions(+), 79 deletions(-)

diff --git a/debian/rules b/debian/rules
index 68a19a3..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,81 +1,4 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/quilt/quilt.make
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-    CFLAGS += -O0
-else
-    CFLAGS += -O2
-endif
-
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-
-	$(PERL) Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$(CFLAGS)"
-	$(MAKE)
-	$(MAKE) test
-
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-
-	# Makefile is re-generated here as unpatch changes Makefile
-	[ ! -e Makefile ] || ( $(PERL) Malefile.PL INSTALLDIRS=vendor && $(MAKE) realclean )
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/share/perl5
-
-	touch $@
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-independent files here.
-binary-indep:
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-openssl-random-perl.git



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