File: rules

package info (click to toggle)
python-fastbencode 0.3.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228 kB
  • sloc: python: 478; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export CARGO_HOME=$(shell pwd)/debian/cargo_home

%:
	dh $@ --buildsystem=pybuild

update-deps:
	# this required python3-debmutate
	update-rust-deps --exclude-local-crates \
		--drop-unreferenced

override_dh_auto_clean:
	-mv Cargo.lock.bak Cargo.lock || true
	dh_auto_clean

override_dh_auto_build:
	-mv Cargo.lock Cargo.lock.bak || true
	dh_auto_build