File: rules

package info (click to toggle)
speedometer 2.9-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: python: 1,371; sh: 46; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

PACKAGE		= speedometer
BIN		= $(PACKAGE).py
PKGDIR		= $(shell pwd)/debian/$(PACKAGE)

%:
	dh $@ --buildsystem=pybuild --shebang=/usr/bin/python3

man:
	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman

override_dh_auto_install: man
	install -D -m 755 $(BIN) $(PKGDIR)/usr/bin/$(PACKAGE)

.PHONY: man