These don't do anything. I've compared against some other Rust packages (some ProxmoxVE stuff) and the output of debcargo against this crate (from crates.io, now that it's up). Neither contain these targets. I'm fairly confident I don't need them at all.
16 lines
471 B
Makefile
Executable File
16 lines
471 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/default.mk
|
|
include /usr/share/rustc/architecture.mk
|
|
export DEB_HOST_RUST_TYPE
|
|
export PATH:=/usr/share/cargo/bin:$(PATH)
|
|
export CARGO=/usr/share/cargo/bin/cargo
|
|
export CARGO_HOME=$(CURDIR)/debian/cargo_home
|
|
export CARGO_REGISTRY=$(CURDIR)/debian/cargo_registry
|
|
export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
|
|
|
|
%:
|
|
dh $@ --buildsystem=cargo
|