[Glibc-bsd-commits] r1934 - trunk/libvolume-id/debian

guillem at alioth.debian.org guillem at alioth.debian.org
Thu May 17 17:18:06 UTC 2007


Author: guillem
Date: 2007-05-17 17:18:06 +0000 (Thu, 17 May 2007)
New Revision: 1934

Modified:
   trunk/libvolume-id/debian/changelog
   trunk/libvolume-id/debian/rules
Log:
Install reportbug control files for each package, to redirect reporting
to <debian-bsd at lists.debian.org>.


Modified: trunk/libvolume-id/debian/changelog
===================================================================
--- trunk/libvolume-id/debian/changelog	2007-05-17 17:11:36 UTC (rev 1933)
+++ trunk/libvolume-id/debian/changelog	2007-05-17 17:18:06 UTC (rev 1934)
@@ -8,6 +8,8 @@
     - Remove useless INSTALL_PROGRAM.
     - Add build-arch and build-indep.
     - Remove commented out debhelper commands.
+  * Install reportbug control files for each package, to redirect reporting
+    to <debian-bsd at lists.debian.org>.
 
  -- Guillem Jover <guillem at debian.org>  Wed, 16 May 2007 04:08:34 +0300
 

Modified: trunk/libvolume-id/debian/rules
===================================================================
--- trunk/libvolume-id/debian/rules	2007-05-17 17:11:36 UTC (rev 1933)
+++ trunk/libvolume-id/debian/rules	2007-05-17 17:18:06 UTC (rev 1934)
@@ -18,6 +18,8 @@
 	CFLAGS += -O2
 endif
 
+packages := $(shell dh_listpackages)
+
 build-indep:
 
 build-arch:
@@ -52,6 +54,14 @@
 binary-arch: build-arch install
 	dh_testdir
 	dh_testroot
+	
+	# Install files for reportbug
+	for p in $(packages); do \
+	  mkdir -p debian/$$p/usr/share/bug/$$p; \
+	  install -p -m 0644 -o root -g root debian/bug.control \
+	    debian/$$p/usr/share/bug/$$p/control; \
+	done
+	
 	dh_installdocs
 	dh_installexamples
 	dh_installmenu




More information about the Glibc-bsd-commits mailing list