1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export CARGO_HOME=$(shell pwd)/debian/cargo_home
ZSH_COMPDIR = /usr/share/zsh/vendor-completions/
%:
dh $@ --with python3,bash_completion --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
mkdir -p debian/lintian-brush/$(ZSH_COMPDIR)
install -m644 debian/lintian-brush.zsh-completion \
debian/lintian-brush/$(ZSH_COMPDIR)/_lintian-brush
override_dh_auto_clean:
if test -f Cargo.lock.saved; then mv Cargo.lock.saved Cargo.lock; fi
dh_auto_clean
override_dh_auto_build:
mv Cargo.lock Cargo.lock.saved
dh_auto_build
override_dh_auto_test:
make testsuite
|