| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=biomaj |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild |
| 7 | |
| 8 | override_dh_install: |
| 9 | dh_install |
| 10 | sed -i '1s;^;#!/usr/bin/python3\n;' debian/python3-biomaj3/usr/bin/biomaj_migrate_database.py |
| 11 | |
| 12 | override_dh_installexamples: |
| 13 | dh_installexamples |
| 14 | sed -i '1s;^;#!/bin/bash\n;' debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/tools/process/concat.sh |
| 15 | chmod -x debian/python3-biomaj3/usr/share/doc/python3-biomaj3/examples/global.properties.example |
| 16 | |
| 17 | override_dh_auto_test: |