summaryrefslogtreecommitdiff
path: root/debian/rules
blob: d6aee883483b200ae100681cbe81c1828bb7fdd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --buildsystem cargo

override_dh_auto_build:
	true

override_dh_auto_install:
	cargo install --path=. --root=debian/obnam
	find debian/obnam -name '.crates*' -delete
	find debian/obnam/bin -type f ! -name 'obnam*' -delete

override_dh_auto_test:
	echo not running ./check in Debian package build
	echo tests need too much infra in test environment