summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 3fba670961fac6eb86e46031ef8448bf9e953024 (plain)
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

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

override_dh_auto_clean:
	$(RM) -r PyVISA.egg-info
	$(RM) -r build
	dh_auto_clean

#override_dh_auto_build:
#	dh_auto_build
#	set -ex; for python in $(shell py3versions -r); do \
#		$$python setup.py build; \
#	done

#override_dh_auto_install:
#	dh_auto_install
#	set -ex; for python in $(shell py3versions -r); do \
#		$$python setup.py install --install-layout=deb \
#		--root $(CURDIR)/debian/tmp; \
#	done;

override_dh_installchangelogs:
	dh_installchangelogs -k CHANGES