File: rules

package info (click to toggle)
selectors34 1.1.0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 120 kB
  • ctags: 150
  • sloc: python: 833; makefile: 27
file content (22 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
# -*- makefile -*-

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

export PYBUILD_NAME = selectors34
export PYBUILD_DESTDIR_python2=debian/python2-selectors34/

override_dh_clean:
	dh_clean
	rm -rf $(CURDIR)/selectors34.egg-info/

override_dh_install:
	dh_install
	# remove Python3 files
	rm -rf $(PYBUILD_DESTDIR_python2)/usr/lib/python3*

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

.PHONY: override_dh_clean override_dh_install