[SCM] jaaa packaging branch, master, updated. debian/0.4.2-2-29-g018d98f

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat Jun 26 18:55:41 UTC 2010


The following commit has been merged in the master branch:
commit 018d98f1f10cac7b977ef884a4c80d25115bc1f1
Author: Alessio Treglia <alessio at debian.org>
Date:   Sat Jun 26 20:55:43 2010 +0200

    Switch to DH 7 tiny rules.

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 9141d2d..eb99841 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Alessio Treglia <alessio at debian.org>,
  Philippe Coval <rzr at gna.org>
-Build-Depends: debhelper (>= 5),
+Build-Depends: debhelper (>= 7.0.50~),
  docbook-to-man,
  libclalsadrv-dev,
  libclthreads-dev,
diff --git a/debian/rules b/debian/rules
index 5d658b5..fad636a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,54 +1,15 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 MAINPACKAGE?=$(shell dpkg-parsechangelog | sed -n 's/Source: \(.*\)/\1/p')
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+%:
+	dh $@
 
-build: build-stamp
-
-build-stamp:
-	dh_testdir
-	$(MAKE)
+override_dh_auto_build:
+	dh_auto_build
 	docbook-to-man debian/${MAINPACKAGE}.sgml > debian/${MAINPACKAGE}.1
-	touch $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	$(MAKE) clean
+override_dh_auto_clean:
+	dh_auto_clean
 	rm -f debian/${MAINPACKAGE}.1
-	dh_clean
-
-binary-arch: build
-	dh_testdir
-	dh_testroot
-	dh_install
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installmenu 
-	dh_installman
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-arch
-
-
-.PHONY: build clean binary-indep binary-arch binary install configure
-

-- 
jaaa packaging



More information about the pkg-multimedia-commits mailing list