rules 238 Bytes
Newer Older
Nicolas Chauvat's avatar
Nicolas Chauvat committed
1
2
#!/usr/bin/make -f

Rémi Cardona's avatar
Rémi Cardona committed
3
export NO_SETUPTOOLS=1
4

Rémi Cardona's avatar
Rémi Cardona committed
5
6
%:
	dh $@ --with python2
Nicolas Chauvat's avatar
Nicolas Chauvat committed
7

Rémi Cardona's avatar
Rémi Cardona committed
8
9
override_dh_auto_install:
	dh_auto_install
10
	# remove generated .egg-info file
Rémi Cardona's avatar
Rémi Cardona committed
11
	rm -rf debian/*/usr/lib/python*
Nicolas Chauvat's avatar
Nicolas Chauvat committed
12

Rémi Cardona's avatar
Rémi Cardona committed
13
14
override_dh_python2:
	dh_python2 -i /usr/share/cubicweb