File: rules

package info (click to toggle)
python-treetime 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 19,612 kB
  • sloc: python: 6,273; makefile: 203; sh: 84
file content (19 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# DH_VERBOSE := 1

export PYBUILD_NAME = treetime

EXECDIR=debian/python3-$(PYBUILD_NAME)/usr/share/treetime

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

override_dh_install:
	dh_install
	## enable dh_python finding dependency
	find debian -name "*.py" -exec sed -i '1s:/usr/local/bin/python:/usr/bin/python:' \{\} \;

override_dh_auto_clean:
	dh_auto_clean
	rm -rf phylo_treetime.egg-info