File: rules

package info (click to toggle)
python-mido 1.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 868 kB
  • sloc: python: 3,854; makefile: 136; sh: 4
file content (17 lines) | stat: -rwxr-xr-x 424 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 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