#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
	dh_auto_test -- test --all

# Upstream marks the training data and helper scripts as executable; they are
# plain data files, and meta/benchmark.sh does not even parse as a shell
# script.  Shipping them non-executable avoids those lintian errors.
override_dh_fixperms:
	dh_fixperms
	find debian/librust-frag-gene-scan-rs-dev -type f -exec chmod 0644 {} +
