[Pkg-ofed-commits] r240 - ofa-kernel/trunk/debian

Guy Coates gmpc-guest at alioth.debian.org
Tue May 12 08:12:21 UTC 2009


Author: gmpc-guest
Date: 2009-05-12 08:12:21 +0000 (Tue, 12 May 2009)
New Revision: 240

Modified:
   ofa-kernel/trunk/debian/rules
Log:
Stop kdist_clean targets failing if debian/control does not exist.


Modified: ofa-kernel/trunk/debian/rules
===================================================================
--- ofa-kernel/trunk/debian/rules	2009-05-11 15:23:09 UTC (rev 239)
+++ ofa-kernel/trunk/debian/rules	2009-05-12 08:12:21 UTC (rev 240)
@@ -140,14 +140,14 @@
 build: build-arch build-indep
 
 clean: 
-	dh_testdir
+	[ ! -f debian/control ] || dh_testdir
 	#dh_testroot
 	rm -f build-arch-stamp build-indep-stamp 
 
 	# Add here commands to clean up after the build process.
 #	[ ! -f Makefile ] || $(MAKE) clean	
-	dh_clean
-	debconf-updatepo
+	[ ! -f debian/control ] || dh_clean
+	[ ! -f debian/control ] || debconf-updatepo
 
 install: DH_OPTIONS=
 install: build




More information about the Pkg-ofed-commits mailing list