File: rules

package info (click to toggle)
metaphlan 4.0.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 34,804 kB
  • sloc: python: 7,436; sh: 23; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 552 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
#!/usr/bin/make -f

# DH_VERBOSE := 1

include /usr/share/dpkg/default.mk

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

override_dh_auto_build:
	dh_auto_build
	pandoc -s --from markdown --to html README.md | \
	    sed -e 's#"https://bitbucket.org/repo/r[Mm]969[Kk]/images#"images#' > README.html

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md

override_dh_fixperms:
	dh_fixperms
	find debian/$(DEB_SOURCE) -name "*.txt" -exec chmod -x \{\} \;
	find debian/$(DEB_SOURCE) -name "calculate_diversity.R" \
		-exec chmod +x \{\} \;