File: rules

package info (click to toggle)
q2cli 2022.11.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 844 kB
  • sloc: python: 5,845; sh: 90; makefile: 32
file content (17 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8
export QIIMETEST=1

include /usr/share/dpkg/default.mk
export PYBUILD_TEST_ARGS=--ignore=q2cli/tests/test_usage.py

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	dh_install
	mkdir -p debian/$(DEB_SOURCE)/usr/share/bash-completion/completions
	mv debian/$(DEB_SOURCE)/usr/bin/tab-qiime debian/$(DEB_SOURCE)/usr/share/bash-completion/completions/qiime
	chmod -x debian/$(DEB_SOURCE)/usr/share/bash-completion/completions/qiime