[Pkg-zenoss-commits] r372 - in /trunk/packages/wmi/debian: changelog rules

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Thu Jul 24 00:34:09 UTC 2008


Author: bzed
Date: Thu Jul 24 00:34:09 2008
New Revision: 372

URL: http://svn.debian.org/wsvn/pkg-zenoss/?sc=1&rev=372
Log:
* debian/rules:
  - removing .pyc files and other cruft in the clean target.

Modified:
    trunk/packages/wmi/debian/changelog
    trunk/packages/wmi/debian/rules

Modified: trunk/packages/wmi/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-zenoss/trunk/packages/wmi/debian/changelog?rev=372&op=diff
==============================================================================
--- trunk/packages/wmi/debian/changelog (original)
+++ trunk/packages/wmi/debian/changelog Thu Jul 24 00:34:09 2008
@@ -1,6 +1,8 @@
 wmi (1:0.1.13-1) unstable; urgency=low
 
   * New upstream version.
+  * debian/rules:
+    - removing .pyc files and other cruft in the clean target.
 
  -- Bernd Zeimetz <bzed at debian.org>  Fri, 30 May 2008 23:50:00 +0200
 

Modified: trunk/packages/wmi/debian/rules
URL: http://svn.debian.org/wsvn/pkg-zenoss/trunk/packages/wmi/debian/rules?rev=372&op=diff
==============================================================================
--- trunk/packages/wmi/debian/rules (original)
+++ trunk/packages/wmi/debian/rules Thu Jul 24 00:34:09 2008
@@ -49,9 +49,10 @@
 	#restoring original winexesvc_exe.c_orig if we need to do so
 	[ ! -r winexesvc_exe.c_orig ] || mv winexesvc_exe.c_orig Samba/source/winexe/winexesvc/winexesvc_exe.c
 
-	[ ! -f Samba/source/Makefile ] || make clean
-	[ ! -f Samba/source/Makefile ] || (cd Samba/source; make distclean; )
+	-[ ! -f Samba/source/Makefile ] || make clean
+	-[ ! -f Samba/source/Makefile ] || (cd Samba/source; make distclean; )
 	rm -f Samba/source/heimdal/lib/des/hcrypto
+	find . -name '*.pyc' -print0 | xargs -0 rm -f
 
 	dh_clean 
 




More information about the Pkg-zenoss-commits mailing list