[SCM] Debian packaging of libfile-sync-perl branch, master, updated. aed2141cdc802e40d18a4e56d1ac2ac47ab278e2

gregor herrmann gregoa at debian.org
Sat Nov 26 19:49:31 UTC 2011


The following commit has been merged in the master branch:
commit 7a65457a81a6bc61e6d10f030860e2625a341b23
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Nov 26 20:36:41 2011 +0100

    Use debhelper 8 and short debian/rules file.

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index aae8589..6c63fbb 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Standards-Version: 3.7.2
 Homepage: http://search.cpan.org/dist/File-Sync/
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libfile-sync-perl.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libfile-sync-perl.git
-Build-Depends: debhelper (>= 5), perl (>= 5.8.0-7)
+Build-Depends: debhelper (>= 8), perl (>= 5.8.0-7)
 
 Package: libfile-sync-perl
 Architecture: any
diff --git a/debian/libfile-sync-perl.docs b/debian/libfile-sync-perl.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libfile-sync-perl.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index e506a4d..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,70 +1,4 @@
 #!/usr/bin/make -f
-# -*- Makefile -*-
 
-# Make sure perl is defined (allow overriding from the command line
-PERL ?= /usr/bin/perl
-
-# Set our build directory
-b := $(shell pwd)/debian/libfile-sync-perl
-
-arrange: arrange-stamp
-arrange-stamp: install-stamp
-	dh_testdir
-	dh_installdirs
-	touch arrange-stamp
-
-binary: binary-stamp
-binary-stamp: binary-indep-stamp binary-arch-stamp
-	dh_testdir
-	touch binary-stamp
-
-binary-arch: binary-arch-stamp
-binary-arch-stamp: arrange-stamp
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples
-	dh_installchangelogs Changes
-	dh_compress
-	dh_fixperms
-	dh_strip
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-	touch binary-arch-stamp
-
-binary-indep: binary-indep-stamp
-binary-indep-stamp: arrange-stamp
-	dh_testdir
-	touch binary-indep-stamp
-
-build: build-stamp
-build-stamp: config-stamp
-	dh_testdir
-	$(MAKE) LDLOADLIBS=-lc
-	$(MAKE) test
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp pfunc.h hctype.h
-
-config: config-stamp
-config-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch config-stamp
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	$(MAKE) install PREFIX=$(b)/usr
-	[ ! -d $(b)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(b)/usr/share/perl5
-	touch install-stamp
-
-.PHONY: arrange binary binary-arch binary-indep build clean config install
+%:
+	dh $@

-- 
Debian packaging of libfile-sync-perl



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