File: rules

package info (click to toggle)
python-mido 1.1.18-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 652 kB
  • ctags: 645
  • sloc: python: 3,253; makefile: 136; sh: 4
file content (17 lines) | stat: -rwxr-xr-x 432 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

export PYBUILD_NAME=mido

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

override_dh_auto_build:
	cp $(CURDIR)/bin/mido-connect $(CURDIR)/bin/mido3-connect
	cp $(CURDIR)/bin/mido-play $(CURDIR)/bin/mido3-play
	cp $(CURDIR)/bin/mido-ports $(CURDIR)/bin/mido3-ports
	cp $(CURDIR)/bin/mido-serve $(CURDIR)/bin/mido3-serve
	dh_auto_build

override_dh_auto_clean:
	rm -rf $(CURDIR)/bin/mido3*
	dh_auto_clean