#! /usr/bin/make -f export DEB_BUILD_OPTIONS=nocheck export PYBUILD_NAME=biomaj-process %: dh $@ --buildsystem=pybuild override_dh_clean: dh_clean rm -rf biomaj_process.egg-info if [ -e biomaj_process/message/procmessage_pb2.py.bak ] ; then mv biomaj_process/message/procmessage_pb2.py.bak biomaj_process/message/procmessage_pb2.py; fi override_dh_auto_configure: cp -a biomaj_process/message/procmessage_pb2.py biomaj_process/message/procmessage_pb2.py.bak dh_auto_configure override_dh_auto_build: cd biomaj_process/message && protoc --python_out=. procmessage.proto dh_auto_build override_dh_install: dh_install sed -i '1s;^;#!/usr/bin/python3\n;' debian/python3-biomaj3-process/usr/bin/biomaj_process_consumer.py