File: rules

package info (click to toggle)
sortmerna 2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 123,760 kB
  • sloc: cpp: 20,697; ansic: 9,739; sh: 1,530; python: 1,194; makefile: 46
file content (42 lines) | stat: -rwxr-xr-x 903 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --includedir=/usr/include/sortmerna

override_dh_clean:
	dh_clean
	rm -f index/.tobuild
	rm -f include/memcheck.h
	rm -rf tmp

override_dh_auto_build:
	touch index/.tobuild
	dh_auto_build
	mkdir -p tmp
	cat debian/README_scripts.txt rRNA_databases/README.txt > tmp/README.txt

# Uses old interface of skbio (see README.source)
#override_dh_auto_test:
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
#	python3 ./tests/test_sortmerna.py
#endif

override_dh_auto_install:
	#Skip this - do it manually
	true

override_dh_fixperms:
	dh_fixperms
	find debian/sortmerna -name '*.sh' -exec chmod +x '{}' ';'
	find debian/sortmerna -name '*.py' -exec chmod -x '{}' ';'

override_dh_compress:
	dh_compress --exclude=.pdf