File: rules

package info (click to toggle)
bio-tradis 1.4.5+dfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 13,652 kB
  • sloc: perl: 4,312; xml: 1,731; sh: 123; makefile: 18
file content (24 lines) | stat: -rwxr-xr-x 660 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
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_install:
	dh_install
	for pl in `grep -Rl '#!/usr/bin/env[[:space:]]\+perl' debian/*/usr/*` ; do \
	    sed -i '1s?^#!/usr/bin/env[[:space:]]\+perl?#!/usr/bin/perl?' $${pl} ; \
	done
	mv debian/bio-tradis/usr/bin/tradis_comparison.R debian/bio-tradis/usr/bin/tradis_comparison
	mv debian/bio-tradis/usr/bin/tradis_essentiality.R debian/bio-tradis/usr/bin/tradis_essentiality

override_dh_installman:
	dh_installman
	rm debian/bio-tradis/usr/share/man/man1/tradis_merge_plots.1p*

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test || true
endif