| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export CARGO_HOMEscip-makefile . . . CARGO_HOME.=$(shell pwd)/debian/cargo_home |
| 4 | |
| 5 | override_dh_auto_cleanscip-makefile . . . override_dh_auto_clean/: |
| 6 | if test -f Cargo.lock.saved; then mv Cargo.lock.saved Cargo.lock; fi |
| 7 | dh_auto_clean |
| 8 | |
| 9 | override_dh_auto_buildscip-makefile . . . override_dh_auto_build/: |
| 10 | -mv Cargo.lock Cargo.lock.saved |
| 11 | cargo generate-lockfile --offline |
| 12 | dh_auto_build |
| 13 | |
| 14 | %scip-makefile . . . `%`/: |
| 15 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |