[pkg-kolab] r1563 - libkolab-perl/trunk/debian

Mathieu Parent sathieu at alioth.debian.org
Sat Nov 19 17:05:25 UTC 2011


Author: sathieu
Date: 2011-11-19 17:05:23 +0000 (Sat, 19 Nov 2011)
New Revision: 1563

Modified:
   libkolab-perl/trunk/debian/changelog
   libkolab-perl/trunk/debian/rules
Log:
Moved to dh

Modified: libkolab-perl/trunk/debian/changelog
===================================================================
--- libkolab-perl/trunk/debian/changelog	2011-11-19 17:00:48 UTC (rev 1562)
+++ libkolab-perl/trunk/debian/changelog	2011-11-19 17:05:23 UTC (rev 1563)
@@ -11,7 +11,7 @@
   * Drop old Breaks/Replaces on kolabconf, kolabd (no more in oldstable=lenny) 
   * Updated Standards-Version to 3.9.2: no changes
   * d/watch: updated regexp to match perl-kolab-2.3+git-20101212.src.rpm 
-  * Moved to debhelper compat level 8
+  * Moved to debhelper compat level 8 and dh
 
  -- Mathieu Parent <sathieu at debian.org>  Tue, 24 May 2011 22:27:18 +0200
 

Modified: libkolab-perl/trunk/debian/rules
===================================================================
--- libkolab-perl/trunk/debian/rules	2011-11-19 17:00:48 UTC (rev 1562)
+++ libkolab-perl/trunk/debian/rules	2011-11-19 17:05:23 UTC (rev 1563)
@@ -1,23 +1,13 @@
 #!/usr/bin/make -f
 
-build: 
-	dh_testdir
+%:
+	dh $@
+
+override_dh_auto_build:
 	perl Makefile.PL --config=/etc/kolab --bin=/usr/bin --sbin=/usr/sbin --etc=/etc/kolab
 	$(MAKE)
-	touch build-stamp
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
+override_auto_install:
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/libkolab-perl
 	# Man pages
 	mkdir -p $(CURDIR)/debian/libkolab-perl/usr/share/man/man1
@@ -26,21 +16,5 @@
 	#remove empty directories
 	find $(CURDIR)/debian/libkolab-perl -type d -empty -delete
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
+override_dh_installchangelogs:
 	dh_installchangelogs -i ChangeLog
-	dh_installdocs -i
-	dh_installman -i
-	dh_link -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_perl -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-binary: binary-indep binary-arch
-
-.PHONY: build clean binary-indep binary-arch binary install




More information about the pkg-kolab-devel mailing list