[Pkg-zenoss-commits] r365 - /trunk/packages/wmi/debian/rules

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Thu Mar 13 22:14:01 UTC 2008


Author: bzed
Date: Thu Mar 13 22:14:01 2008
New Revision: 365

URL: http://svn.debian.org/wsvn/pkg-zenoss/?sc=1&rev=365
Log:
back from debugging :)

Modified:
    trunk/packages/wmi/debian/rules

Modified: trunk/packages/wmi/debian/rules
URL: http://svn.debian.org/wsvn/pkg-zenoss/trunk/packages/wmi/debian/rules?rev=365&op=diff
==============================================================================
--- trunk/packages/wmi/debian/rules (original)
+++ trunk/packages/wmi/debian/rules Thu Mar 13 22:14:01 2008
@@ -16,9 +16,8 @@
 
 PYVERS=$(shell pyversions -s)
 
-build: build-mingw-stamp build-python-stamp
-
-build-mingw-stamp: patch
+build: build-stamp
+build-stamp: patch
 	dh_testdir
 
 	mkdir -p $(CURDIR)/debian/tmp/usr/bin
@@ -29,10 +28,6 @@
 	#we don't want to use the delivered binary blob, rebuild it
 	cd Samba/source/winexe/winexesvc; make CC=i586-mingw32msvc-gcc
 
-	touch $@
-
-build-python-stamp: build-mingw-stamp
-	dh_testdir
 	set -e ;\
 	for pyvers in $(PYVERS); do \
 	    mkdir -p $(CURDIR)/debian/tmp/usr/lib/python-support/python-wmi/$$pyvers ;\
@@ -49,10 +44,10 @@
 clean1:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp build-mingw-stamp build-python-stamp
+	rm -f build-stamp
 
 	#restoring original winexesvc_exe.c_orig if we need to do so
-	-mv winexesvc_exe.c_orig Samba/source/winexe/winexesvc/winexesvc_exe.c
+	[ ! -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; )
@@ -104,4 +99,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch clean1
+.PHONY: build clean binary-indep binary-arch binary install configure clean1




More information about the Pkg-zenoss-commits mailing list