File: rules

package info (click to toggle)
kleborate 2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 174,712 kB
  • sloc: python: 3,501; sh: 75; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 639 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
#!/usr/bin/make -f

export LC_ALL=C

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

override_dh_install:
	dh_install
	# fasta.nin files will be (re)build at package installation time to not
	# contain build path.  Other fasta.* are rebuilt by makeblastdb and may
	# cause inconsistencies in the package itself when makeblastdb is
	# upgraded and changes format, e.g. during a major operating system
	# upgrade.  See Bug#1036743.
	find debian -name "*.fasta.nin" -delete
	find debian -name "*.fasta.ndb" -delete
	find debian -name "*.fasta.ntf" -delete

override_dh_fixperms:
	dh_fixperms
	find debian -name "*.msh" -exec chmod -x \{\} \;