File: rules

package info (click to toggle)
python-kyotocabinet 1.23-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 832 kB
  • sloc: cpp: 2,967; python: 1,241; javascript: 249; makefile: 85
file content (17 lines) | stat: -rwxr-xr-x 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

build3vers := $(shell py3versions -sv)

# Install manually as auto_install doesn't support python3
override_dh_auto_install:
	dh_install -ppython3-kyotocabinet
	set -e && for i in $(build3vers); do \
	  python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-kyotocabinet; \
	done

override_dh_strip:
	dh_strip --dbgsym-migration='python3-kyotocabinet-dbg (<< 1.23-1~)'