debian/rules
author Rémi Cardona <remi.cardona@free.fr>
Tue, 08 Sep 2015 14:16:36 +0200
changeset 777 d475a40f349d
parent 772 d5be0ab6712c
child 782 bf54633e40d5
permissions -rwxr-xr-x
[nodes] Drop VariableRef.__cmp__ implementation (closes #1190458) The existing implementation relies on hash returning different values for objects that compared equal. This is horribly wrong. Instead, stop implementing comparison, and use the is_equivalent method explicitly.

#!/usr/bin/make -f

export RQL_FORCE_GECODE=1

%:
	dh $@ --with python2 --buildsystem python_distutils

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C doc html

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C doc clean

# prevent dh_python2 from generating bogus deps on python-yapps (nonexistent)
# or python-logilab-constraint (unnecessary with gecode)
override_dh_python2:
	dh_python2 --no-guessing-deps