File: rules

package info (click to toggle)
construct 2.8.16-0.2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 412 kB
  • sloc: python: 4,981; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build construct.egg-info/SOURCES.txt construct.egg-info/PKG-INFO

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 --destdir $(CURDIR)/debian/python-construct
	set -ex; for python in $(shell py3versions -r); do \
		$$python setup.py install --root=$(CURDIR)/debian/python3-construct --install-layout=deb; \
	done;

%:
	dh $@ --with python2,python3