r10689 - in /trunk/libnet-xwhois-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Dec 2 14:34:04 UTC 2007
Author: gregoa-guest
Date: Sun Dec 2 14:34:04 2007
New Revision: 10689
URL: http://svn.debian.org/wsvn/?sc=1&rev=10689
Log:
debian/rules:
- don't install empty /usr/lib/perl5 directory
- use $(CURDIR) instead of `pwd`
- remove variable OPTIMIZE, we don't compile anything
- remove some comments, empty lines and unused/unneeded dh_* calls
- let install target depend on build target
- don't ignore errors of $(MAKE) realclean
Modified:
trunk/libnet-xwhois-perl/debian/changelog
trunk/libnet-xwhois-perl/debian/rules
Modified: trunk/libnet-xwhois-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-xwhois-perl/debian/changelog?rev=10689&op=diff
==============================================================================
--- trunk/libnet-xwhois-perl/debian/changelog (original)
+++ trunk/libnet-xwhois-perl/debian/changelog Sun Dec 2 14:34:04 2007
@@ -3,6 +3,13 @@
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
+ * debian/rules:
+ - don't install empty /usr/lib/perl5 directory
+ - use $(CURDIR) instead of `pwd`
+ - remove variable OPTIMIZE, we don't compile anything
+ - remove some comments, empty lines and unused/unneeded dh_* calls
+ - let install target depend on build target
+ - don't ignore errors of $(MAKE) realclean
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:31:17 +0200
Modified: trunk/libnet-xwhois-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-xwhois-perl/debian/rules?rev=10689&op=diff
==============================================================================
--- trunk/libnet-xwhois-perl/debian/rules (original)
+++ trunk/libnet-xwhois-perl/debian/rules Sun Dec 2 14:34:04 2007
@@ -16,38 +16,29 @@
ifndef DESTDIR
DESTDIR=..
endif
-TMP =`pwd`/debian/$(PACKAGE)
+TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
-
- # Add here commands to compile the package.
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
-
+ $(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) realclean
-
+ [ ! -f makefile ] || $(MAKE) realclean
dh_clean
-install:
+install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
-
- # Add here commands to install the package into debian/tmp.
- #$(MAKE) install DESTDIR=`pwd`/debian/tmp
$(MAKE) install PREFIX=$(TMP)/usr
-
+ rmdir --parents --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
# Build architecture-dependent files here.
binary-arch: build install
@@ -59,17 +50,10 @@
dh_testroot
dh_installdocs TODO
dh_installexamples examples/*
- dh_installmenu
-# dh_installemacsen
-# dh_installinit
- dh_installcron
dh_installman
dh_installchangelogs Changes
- dh_link
- dh_strip
dh_compress
dh_fixperms
-# dh_makeshlibs
dh_installdeb
dh_perl
dh_shlibdeps
More information about the Pkg-perl-cvs-commits
mailing list