[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#223092: userdevfs: binary-arch target should not do anything



Package: userdevfs
Version: 0.03
Tags: patch

This package produces an udeb which is Arch: all, so invoking
binary-arch should not do anything (currently, binary-arch depends
on binary-indep, which is wrong).

[ While we are at it, the comment saying "this builds a .udeb" would fit
  much better in binary-indep, which is the target that actually
  builds such .udeb ].

Patch follows:

diff -ru userdevfs-0.03.orig/debian/rules userdevfs-0.03/debian/rules
--- userdevfs-0.03.orig/debian/rules	Thu Mar 27 23:08:29 2003
+++ userdevfs-0.03/debian/rules	Sat Dec  6 19:47:22 2003
@@ -37,6 +37,8 @@
 	install init-dev debian/$(PACKAGE)/usr/bin

 # Build architecture-independent files here.
+#
+# Note that this builds a .udeb, which is not policy compliant or anything.
 binary-indep: install
 	dh_testdir
 	dh_testroot
@@ -46,9 +48,7 @@
 	dh_builddeb --filename=$(FILENAME)

 # Build architecture-dependent files here.
-#
-# Note that this builds a .udeb, which is not policy compliant or anything.
-binary-arch: binary-indep
+binary-arch:

 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install



Reply to: