[SCM] Debian packaging of IMDB-Film CPAN distribution branch, master, updated. debian/0.43-1-16-g9be74ac
Salvatore Bonaccorso
carnil at debian.org
Fri Sep 2 18:18:52 UTC 2011
The following commit has been merged in the master branch:
commit 9be74acaefa78aa30dd6b9a10a0d17fd768dd870
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Fri Sep 2 20:18:33 2011 +0200
debian/rules: Use a tiny debian/rules makefile.
diff --git a/debian/changelog b/debian/changelog
index 308c87d..07adb82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,8 +20,9 @@ libimdb-film-perl (0.50-1) UNRELEASED; urgency=low
machine readable copyright file.
* debian/watch: Use dist based search.cpan.org URL
* Bump Debhelper compat level to 8.
+ * debian/rules: Use a tiny debian/rules makefile.
- -- Salvatore Bonaccorso <carnil at debian.org> Fri, 02 Sep 2011 20:14:43 +0200
+ -- Salvatore Bonaccorso <carnil at debian.org> Fri, 02 Sep 2011 20:18:08 +0200
libimdb-film-perl (0.43-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index a0cf29a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,76 +1,4 @@
#!/usr/bin/make -f
-#
-# 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) OPTIMIZE="-Wall -O2 -g"
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
-
- [ ! -f Makefile ] || $(MAKE) realclean
-
- dh_clean build-stamp install-stamp
-
-# do not run this automatically from the build/install targets, as it will
-# need an internet connection to connect to the IMDB
-test:
- $(MAKE) test
-
-install: build install-stamp
-install-stamp:
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # install files
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- [ ! -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 Todo
- dh_installchangelogs ChangeLog
- dh_perl
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-
-.PHONY: build clean binary-indep binary-arch binary
-
-# vim:ft=make:fileencoding=utf-8:ts=4:
+%:
+ dh $@
--
Debian packaging of IMDB-Film CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list