| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/pkg-info.mk |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem cargo |
| 7 | |
| 8 | override_dh_auto_install: |
| 9 | dh_auto_install |
| 10 | # These files are x86_64 binaries without source code, so no DFSG compatible |
| 11 | # Thus, tests using them on non x86_64 fail |
| 12 | find . -name 'rust_hello' -delete |
| 13 | find . -name 'c_hello' -delete |
| 14 | find . -name 'c_hello_copy' -delete |
| 15 | find . -type d -empty -delete |
| 16 | |
| 17 | override_dh_dwz: |
| 18 | # Don't do anything. fails because of the |
| 19 | # https://github.com/rust-lang/rust/issues/66118 |