r19307 - in /trunk/libfilesys-smbclient-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Wed Apr 30 21:38:20 UTC 2008
Author: gregoa
Date: Wed Apr 30 21:38:15 2008
New Revision: 19307
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19307
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libfilesys-smbclient-perl/debian/changelog
trunk/libfilesys-smbclient-perl/debian/rules
Modified: trunk/libfilesys-smbclient-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilesys-smbclient-perl/debian/changelog?rev=19307&op=diff
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/changelog (original)
+++ trunk/libfilesys-smbclient-perl/debian/changelog Wed Apr 30 21:38:15 2008
@@ -5,8 +5,9 @@
in a row.
* debian/copyright: point to author-independent URL of the upstream
source.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregoa at debian.org> Wed, 30 Apr 2008 23:32:44 +0200
+ -- gregor herrmann <gregoa at debian.org> Wed, 30 Apr 2008 23:36:46 +0200
libfilesys-smbclient-perl (3.1-2) unstable; urgency=low
Modified: trunk/libfilesys-smbclient-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilesys-smbclient-perl/debian/rules?rev=19307&op=diff
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/rules (original)
+++ trunk/libfilesys-smbclient-perl/debian/rules Wed Apr 30 21:38:15 2008
@@ -1,27 +1,23 @@
#!/usr/bin/make -f
-#-*- makefile -*-
-# Made with the aid of dh_make, by Craig Small
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-# Some lines taken from debmake, by Christoph Lameter.
+# 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
-include /usr/share/quilt/quilt.make
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation by setting noopt in
+# Allow disabling build optimisation by setting noopt in
# $DEB_BUILD_OPTIONS
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -30,13 +26,12 @@
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 accass to a samba server
+ #$(MAKE) test # requires access to a samba server
touch $@
clean: unpatch
@@ -50,43 +45,33 @@
dh_testdir
dh_testroot
dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture dependent package, we are not
- # supposed to install stuff to /usr/share. MakeMaker creates
- # the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
+ [ ! -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 by default.
+# 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_installdocs debian/README.Debian
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_perl
- dh_shlibdeps
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
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list