r17117 - in /trunk/libwant-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Mar 9 21:35:24 UTC 2008
Author: gregoa-guest
Date: Sun Mar 9 21:35:23 2008
New Revision: 17117
URL: http://svn.debian.org/wsvn/?sc=1&rev=17117
Log:
debian/rules:
- activate tests
- don't ignore errors of make realclean
- let install-stamp target depend on build-stamp
- remove unused or commented out dh_* calls
- use $@ for touching stamp files
- add install to .PHONY targets
- don't install README any more (excerpt from the POD documentation)
Modified:
trunk/libwant-perl/debian/changelog
trunk/libwant-perl/debian/rules
Modified: trunk/libwant-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libwant-perl/debian/changelog?rev=17117&op=diff
==============================================================================
--- trunk/libwant-perl/debian/changelog (original)
+++ trunk/libwant-perl/debian/changelog Sun Mar 9 21:35:23 2008
@@ -8,8 +8,16 @@
maintainers at lists.alioth.debian.org> (was: Florian Weimer
<fw at deneb.enyo.de>)
* Add debian/watch.
+ * debian/rules:
+ - activate tests
+ - don't ignore errors of make realclean
+ - let install-stamp target depend on build-stamp
+ - remove unused or commented out dh_* calls
+ - use $@ for touching stamp files
+ - add install to .PHONY targets
+ - don't install README any more (excerpt from the POD documentation)
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 09 Mar 2008 22:22:18 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 09 Mar 2008 22:26:18 +0100
libwant-perl (0.18-1) unstable; urgency=low
Modified: trunk/libwant-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libwant-perl/debian/rules?rev=17117&op=diff
==============================================================================
--- trunk/libwant-perl/debian/rules (original)
+++ trunk/libwant-perl/debian/rules Sun Mar 9 21:35:23 2008
@@ -35,34 +35,34 @@
# Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+ $(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
# Add commands to clean up after the build process here
- -$(MAKE) realclean
+ [ ! -f Makefile ] || $(MAKE) realclean
dh_clean build-stamp install-stamp
install: install-stamp
-install-stamp:
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
# Add here commands to install the package into debian/tmp.
- #$(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
+
# As this is a architecture dependent package, we are not supposed to install
# stuff to /usr/share/perl5. 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
-
- touch install-stamp
+
+ touch $@
# Build architecture-independent files here.
binary-indep: build install
@@ -72,28 +72,20 @@
binary-arch: build install
dh_testdir
dh_testroot
- dh_installdocs README TODO
- dh_installexamples
-# dh_installmenu
-# dh_installcron
-# dh_installman
+ dh_installdocs TODO
dh_installchangelogs Changes
- dh_link
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- dh_strip
-endif
+ dh_shlibdeps
+ dh_strip
+ dh_perl
dh_compress
dh_fixperms
- dh_makeshlibs
dh_installdeb
- dh_perl
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
-source diff:
+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