[SCM] Debian packaging of libfilesys-df-perl branch, master, updated. debian/0.92-4

Ansgar Burchardt ansgar at debian.org
Sat Sep 17 10:18:15 UTC 2011


The following commit has been merged in the master branch:
commit 1b3843dea2c0c6198c7989020ff2cab6dd6625ed
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Sat Sep 17 12:10:05 2011 +0200

    Use tiny debian/rules with debhelper 8.

diff --git a/debian/compat b/debian/compat
index 1e8b314..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+8
diff --git a/debian/control b/debian/control
index 3eebac5..2b26d76 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregoa at debian.org>,
  Damyan Ivanov <dmn at debian.org>
-Build-Depends: debhelper (>= 6), perl
+Build-Depends: debhelper (>= 8), perl
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Filesys-Df/
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libfilesys-df-perl.git
diff --git a/debian/rules b/debian/rules
index 2049883..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,4 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PERL=/usr/bin/perl
-
-build: build-stamp
-build-stamp: 
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) install \
-		DESTDIR=$(CURDIR)/debian/libfilesys-df-perl \
-		PREFIX=/usr
-	[ ! -d $(CURDIR)/debian/libfilesys-df-perl/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libfilesys-df-perl/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_perl
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@

-- 
Debian packaging of libfilesys-df-perl



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