I've committed the changes necessary to move to standard Debian packaging and it will be in effect on next release. The new rules file is much simpler now and shouldn't cause such problems:
#!/usr/bin/make -f %: ifneq ($(shell dh -l | grep -xF translations),) dh $@ --with python2,translations else dh $@ --with python2 endif
I've committed the changes necessary to move to standard Debian packaging and it will be in effect on next release.
The new rules file is much simpler now and shouldn't cause such problems:
#!/usr/bin/make -f translations
%:
ifneq ($(shell dh -l | grep -xF translations),)
dh $@ --with python2,
else
dh $@ --with python2
endif