Files
squeekboard/debian/rules
Guido Günther e285ecce93 d/rules: Only remove Cargo.lock if it exists
This allows to invoke the build target twice in a row
2020-06-02 10:10:43 +02:00

16 lines
416 B
Makefile
Executable File

#!/usr/bin/make -f
export CARGO_HOME = $(CURDIR)/debian/cargo
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --builddirectory=_build --buildsystem=meson
# The Debian version of linked-hash-map doesn't provide any hash,
# causing Cargo to refuse to build with a crates.io copy
build-arch:
[ ! -f Cargo.lock ] || rm Cargo.lock
dh $@ --builddirectory=_build --buildsystem=meson
override_dh_autoreconf: