5 include /usr
/share
/dpkg
/pkg-info.mk
7 export BUILD_MODE
=release
9 CARGO
=/usr
/share
/cargo
/bin
/cargo
11 export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
12 export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE
13 export CARGO_HOME
= $(CURDIR
)/debian
/cargo_home
18 override_dh_auto_configure
:
19 @perl
-ne
'if (/^version\s*=\s*"(\d+(?:\.\d+)+)"/) { my $$v_cargo = $$1; my $$v_deb = "$(DEB_VERSION_UPSTREAM)"; \
20 die "ERROR: d/changelog <-> Cargo.toml version mismatch: $$v_cargo != $$v_deb\n" if $$v_cargo ne $$v_deb; exit(0); }' Cargo.toml
24 dh_fixperms
--exclude proxmox-mail-forward
28 patchelf
--remove-needed librt.so
.1 debian
/proxmox-mail-forward
/usr
/bin
/proxmox-mail-forward