File: rules

package info (click to toggle)
gr-hpsdr 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,132 kB
  • sloc: python: 9,405; cpp: 2,062; makefile: 12; ansic: 9
file content (16 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
DH_VERBOSE=1
export DH_VERBOSE

%:
	dh $@ --with python3

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPYTHON_EXECUTABLE=/usr/bin/python3

override_dh_install:
	rm -f debian/tmp/usr/lib/python3*/dist-packages/hpsdr/*.pyc
	rm -f debian/tmp/usr/lib/python3*/dist-packages/hpsdr/*.pyo
	dh_install