[SCM] Debian packaging of libhtml-fillinform-perl branch, master, updated. 302a6832c9e254b089f0b3a53290418017006255

gregor herrmann gregoa at debian.org
Tue Aug 30 17:11:33 UTC 2011


The following commit has been merged in the master branch:
commit 7bdd7660df8e60fad35586f04da5634598946f2c
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Aug 30 19:00:03 2011 +0200

    Use tiny debian/rules, switch to 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 a2f468d..2e2de6d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libhtml-fillinform-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8.0-7), libhtml-parser-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>,
diff --git a/debian/libhtml-fillinform-perl.docs b/debian/libhtml-fillinform-perl.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libhtml-fillinform-perl.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index 112ac45..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,75 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	# Add commands to clean up after the build process here
-	dh_clean build-stamp install-stamp
-	[ ! -e Makefile ] || $(MAKE) distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not supposed to install
-	# stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	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 libhtml-fillinform-perl



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