File: rules

package info (click to toggle)
python-dendropy 4.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 73,556 kB
  • sloc: python: 25,827; xml: 1,400; sh: 17; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DH_VERBOSE := 1

SUMTREES:=sumtrees

export PYBUILD_NAME=dendropy

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

override_dh_install:
	dh_install
	mkdir -p debian/$(SUMTREES)/usr/bin
	mv debian/python3-$(PYBUILD_NAME)/usr/bin/sumtrees.py debian/$(SUMTREES)/usr/bin/sumtrees	
	mv applications/dendropy-format/dendropy-format debian/$(SUMTREES)/usr/bin/dendropy-format
	rm -rf debian/python3-$(PYBUILD_NAME)/usr/bin