| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/pkg-info.mk |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem cargo |
| 7 | |
| 8 | override_dh_dwz: |
| 9 | # Don't do anything. fails because of the |
| 10 | # https://github.com/rust-lang/rust/issues/66118 |
| 11 | |
| 12 | override_dh_installman: |
| 13 | help2man \ |
| 14 | --name rustfilt \ |
| 15 | --no-info \ |
| 16 | --version-string $(DEB_VERSION_UPSTREAM) \ |
| 17 | debian/rustfilt/usr/bin/rustfilt > debian/rustfilt.1 |
| 18 | dh_installman -O--buildsystem=cargo |