diff --git a/debian/rules b/debian/rules
index 9f220d3849aae662787b464e1694527886eabb2f..cce2ae287370bd2420d7ad5d2a8dac9508b802a3 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
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' \
make install DESTDIR=$(CURDIR)/debian/tmp
# we don't want .txt and .pod documentation in the package
rm -rf debian/tmp/usr/share/doc/rrdtool/txt
- dh_install --sourcedir=$(CURDIR)/debian/tmp --list-missing
+ dh_install --sourcedir=$(CURDIR)/debian/tmp --fail-missing
touch $@