Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # The magic debhelper rule:
4 %:
5 dh $@ --buildsystem=pybuild
6
7 export DH_VERBOSE=1
8
9
10 override_dh_auto_clean:
11 dh_auto_clean
12 rm -rf build
13 rm -rf *.egg-info
14
15 PYTHON3=$(shell py3versions -vr)
16
17 build-python%:
18 python$* setup.py build
19
20 override_dh_auto_build: $(PYTHON3:%=build-python%)
21 dh_auto_build
22
23 install-python%:
24 python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
25
26 override_dh_auto_install: $(PYTHON3:%=install-python%)
27 dh_auto_install