[SCM] Debian packaging of libfilesys-smbclient-perl branch, master, updated. b13cdb4d2f9d5c0e6f085d8e0516b0432d21e309

Xavier Guimard x.guimard at free.fr
Sat Dec 8 08:56:04 UTC 2012


The following commit has been merged in the master branch:
commit bb1249335d1b16ee6362d76b3fe09e68e1e05c43
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Fri Dec 7 21:38:24 2012 +0100

    Update d/rules in modern format

diff --git a/debian/changelog b/debian/changelog
index 7385e8b..438c3e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ libfilesys-smbclient-perl (3.2-1) UNRELEASED; urgency=low
   * Bump Standards-Version to 3.9.4
   * Use debhelper 9.20120312
   * Update debian/copyright (years and format)
+  * Update debian/rules to use "dh %"
 
  -- Xavier Guimard <x.guimard at free.fr>  Fri, 07 Dec 2012 21:25:07 +0100
 
diff --git a/debian/rules b/debian/rules
index cae7050..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,77 +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
-
-include /usr/share/quilt/quilt.make
-
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	#$(MAKE) test # requires access to a samba server
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(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 here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples t smb2www-2.cgi smb2www.css
-	chmod 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/smb2www.css
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	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 install
+%:
+	dh $@

-- 
Debian packaging of libfilesys-smbclient-perl



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