r11338 - in /trunk/libcurses-perl/debian: changelog compat control rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Dec 17 20:41:27 UTC 2007
Author: dmn
Date: Mon Dec 17 20:41:27 2007
New Revision: 11338
URL: http://svn.debian.org/wsvn/?sc=1&rev=11338
Log:
* More debian/rules cleanup
+ move $(MAKE) and $(MAKE) test to build target
+ use DESTDIR and PREFIX when installing
+ use distclean instead of clean; no need to remove Makefile.old
+ drop unused dh_installman and dh_link
+ add dh_shlibdeps call
* Bump debhelper compatibility level to 5; adjust build-dependency
accordingly
Modified:
trunk/libcurses-perl/debian/changelog
trunk/libcurses-perl/debian/compat
trunk/libcurses-perl/debian/control
trunk/libcurses-perl/debian/rules
Modified: trunk/libcurses-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcurses-perl/debian/changelog?rev=11338&op=diff
==============================================================================
--- trunk/libcurses-perl/debian/changelog (original)
+++ trunk/libcurses-perl/debian/changelog Mon Dec 17 20:41:27 2007
@@ -22,6 +22,14 @@
[ Damyan Ivanov ]
* Note 01-add_GNU-kFreeBSD.patch is forwarded upstream
+ * More debian/rules cleanup
+ + move $(MAKE) and $(MAKE) test to build target
+ + use DESTDIR and PREFIX when installing
+ + use distclean instead of clean; no need to remove Makefile.old
+ + drop unused dh_installman and dh_link
+ + add dh_shlibdeps call
+ * Bump debhelper compatibility level to 5; adjust build-dependency
+ accordingly
-- David Paleino <d.paleino at gmail.com> Sun, 16 Dec 2007 11:42:02 +0100
Modified: trunk/libcurses-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libcurses-perl/debian/compat?rev=11338&op=diff
==============================================================================
--- trunk/libcurses-perl/debian/compat (original)
+++ trunk/libcurses-perl/debian/compat Mon Dec 17 20:41:27 2007
@@ -1,1 +1,1 @@
-4
+5
Modified: trunk/libcurses-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libcurses-perl/debian/control?rev=11338&op=diff
==============================================================================
--- trunk/libcurses-perl/debian/control (original)
+++ trunk/libcurses-perl/debian/control Mon Dec 17 20:41:27 2007
@@ -7,7 +7,7 @@
Homepage: http://search.cpan.org/dist/Curses/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcurses-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcurses-perl/
-Build-Depends: perl (>= 5.8), libncurses5-dev, debhelper (>= 4.0), quilt
+Build-Depends: perl (>= 5.8), libncurses5-dev, debhelper (>= 5), quilt
Package: libcurses-perl
Architecture: any
Modified: trunk/libcurses-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcurses-perl/debian/rules?rev=11338&op=diff
==============================================================================
--- trunk/libcurses-perl/debian/rules (original)
+++ trunk/libcurses-perl/debian/rules Mon Dec 17 20:41:27 2007
@@ -5,10 +5,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatibility version to use.
-# export DH_COMPAT=4
-
-#PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
PACKAGE='libcurses-perl'
include /usr/share/quilt/quilt.make
@@ -18,21 +14,21 @@
# Add here commands to compile the package.
#perl Makefile.PL PANELS MENUS FORMS verbose INSTALLDIRS=vendor
perl Makefile.PL PANELS MENUS verbose INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="-O2 -g -Wall"
+ $(MAKE) test
clean: unpatch
dh_testdir
dh_testroot
- [ ! -f Makefile ] || $(MAKE) clean
- dh_clean Makefile.old
+ [ ! -f Makefile ] || $(MAKE) distclean
install:
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
- $(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE) PREFIX=/usr
-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
binary-indep:;
@@ -40,14 +36,13 @@
dh_testdir
dh_testroot
dh_installdocs
- dh_installman
dh_installchangelogs
dh_installexamples
- dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
+ dh_shlibdeps
dh_perl
dh_gencontrol
dh_md5sums
More information about the Pkg-perl-cvs-commits
mailing list