Code

rules: Use 'pyversions -vr' instead of 'pysupport-parseversions'.
[pkg-rrdtool.git] / debian / rules
index 9290ed3d0291193012eea65d1e8f20579e61b22c..cce2ae287370bd2420d7ad5d2a8dac9508b802a3 100755 (executable)
@@ -12,11 +12,7 @@ include /usr/share/quilt/quilt.make
 RUBY_VERS := 1.8 1.9
 RUBY_DEFAULT_VERS := 1.8
 
-#Python versions to build for. The work-around-doko way.
-PY_VERS := $(shell set -e; \
-                   for py in `pysupport-parseversions debian/pyversions`; do \
-                       if [ -x /usr/bin/python$$py ]; then echo $$py; fi;    \
-                   done)
+PY_VERS := $(shell pyversions -vr)
 
 #tcl version we're building for
 TCL_VERS := $(shell dpkg -s tcl-dev | grep '^Depends' \