File: rules

package info (click to toggle)
plasmidid 1.6.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 94,612 kB
  • sloc: sh: 4,979; perl: 1,460; python: 683; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

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

include /usr/share/dpkg/default.mk

%:
	dh $@ --with=python3

override_dh_auto_install:
	dh_auto_install
	help2man -i debian/plasmidID.h2m ./plasmidID > debian/plasmidID.1

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PATH=$$PATH:$(CURDIR)/bin TEST_DATA/test.sh || true
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -f debian/plasmidID.1
	rm -rf NO_GROUP/ TEST_DATA/plasmids_TEST_database.fasta.length TEST_DATA/plasmids_TEST_database.length debian/patches/fixTest.patch path