File: rules

package info (click to toggle)
gr-fosphor 3.8~2.2d4fe78-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,284 kB
  • sloc: python: 9,463; ansic: 3,239; cpp: 982; lisp: 609; makefile: 31
file content (14 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH

%:
	dh $@ --with python3

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"

override_dh_auto_install:
	dh_auto_install
	rm -f debian/tmp/usr/lib/python3.7/dist-packages/gnuradio/fosphor/*pyc
	rm -f debian/tmp/usr/lib/python3.7/dist-packages/gnuradio/fosphor/*pyo