[SCM] Python bindings for the SFML Library branch, master, updated. upstream/1.2-8-g9fbc6eb

Christoph Egger Christoph.Egger at gmx.de
Sun Jun 8 16:06:17 UTC 2008


The following commit has been merged in the master branch:
commit 8abfa8a737f32df12f1ff7b5184e5495d1d2aedc
Author: Christoph Egger <Christoph.Egger at gmx.de>
Date:   Sun Jun 8 17:37:19 2008 +0200

     * Adding an clean Target

diff --git a/debian/rules b/debian/rules
index 475ac42..307a536 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-export PYVERS=$(shell pyversions -vs)
+export PYVERS=$(shell pyversions -vr)
 
 build: $(PYVERS:%=build-python%)
 	touch $@
@@ -19,7 +19,12 @@ build-python%:
 
 install: build $(PYVERS:%=install-python%)
 install-python%:
-	cd python && setup.py install --root $(CURDIR)/debian/python-sfml
+	cd python && python$* setup.py install --root $(CURDIR)/debian/python-sfml
+
+clean: $(PYVERS:%=clean-python%)
+	dh_clean
+clean-python%:
+	cd python && python$* setup.py clean
 
 binary-indep: build install
 # We have nothing to do by default.

-- 
Python bindings for the SFML Library



More information about the Pkg-games-commits mailing list