File: rules

package info (click to toggle)
uucp-lmtp 0.20130117%2Bnmu1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 168 kB
  • ctags: 160
  • sloc: python: 770; makefile: 12
file content (25 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with python3

PYTHON = python3

#override_dh_auto_test:
#	$(PYTHON) setup.py test -vv

override_dh_auto_build:
	$(PYTHON) setup.py build

override_dh_auto_install:
	$(PYTHON) setup.py install --root=$(CURDIR)/debian/uucp-lmtp --install-layout=deb \
		--install-scripts=usr/sbin

override_dh_auto_clean:
	rm -rf build
	rm -rf *.egg-info
	find . -name __pycache__ -exec rm -r {} \; -prune