File: rules

package info (click to toggle)
python-treetime 0.11.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,316 kB
  • sloc: python: 8,437; sh: 124; makefile: 49
file content (19 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
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 $@ --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