Cargo caused .deb builds to crash by storing its data in $HOME. https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules says TMP_DIR may be used freely, so that's where Cargo will keep its stuff now.
10 lines
177 B
Makefile
Executable File
10 lines
177 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export CARGO_HOME=/tmp/cargo
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
%:
|
|
dh $@ --builddirectory=_build --buildsystem=meson
|
|
|
|
override_dh_autoreconf:
|