[SCM] Debian packaging of libterm-size-perl branch, master, updated. 5f7627146d767b9179f45e80c348626b9c970da5

Florian Schlichting fschlich at zedat.fu-berlin.de
Sun Mar 4 18:53:09 UTC 2012


The following commit has been merged in the master branch:
commit 52c799511420acf0d55dbd67ad786a1e1a39b056
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Sun Mar 4 19:39:00 2012 +0100

    switched to short debian/rules

diff --git a/debian/changelog b/debian/changelog
index e08f3ef..e860e05 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ libterm-size-perl (0.207-1) UNRELEASED; urgency=low
   * Refreshed debian/copyright.
   * Bumped Standards-Version to 3.9.3 (deleted versioning on ancient perl).
   * Bumped debhelper compatibility to 9 (use hardening flags).
+  * Switched to short debian/rules.
 
  -- Damyan Ivanov <dmn at debian.org>  Mon, 01 Dec 2008 10:47:56 +0200
 
diff --git a/debian/rules b/debian/rules
index 3fb3235..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,79 +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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-OPTIMIZE = -O2 -Wall
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-OPTIMIZE += -g
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""
-	$(MAKE) test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
-	touch $@
-	
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# 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
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@

-- 
Debian packaging of libterm-size-perl



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