File: rules

package info (click to toggle)
pycallgraph 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 300 kB
  • ctags: 222
  • sloc: python: 1,596; makefile: 50
file content (27 lines) | stat: -rwxr-xr-x 586 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
26
27
#!/usr/bin/make -f

PYTHON3=$(shell py2versions -vr)

%:
	dh $@ --with python2

override_dh_auto_build:
	set -ex; for py in $(PYTHON2) ; do \
		python$$py setup.py build; \
	done

override_dh_auto_install:
	set -ex; for py in $(PYTHON2) ; do \
		python$$py setup.py install --skip-build \
		                            --root=$(CURDIR)/debian/tmp \
		                            --install-layout=deb; \
	done

override_dh_fixperms:
	dh_fixperms
	chmod -f 644 debian/python-pycallgraph/usr/share/pyshared/pycallgraph/config.py
 
override_dh_auto_clean:
	rm -rf build
	rm -rf *.egg-info