File: rules

package info (click to toggle)
gr-rds 3.8.0.0.f1c584a-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,188 kB
  • sloc: cpp: 18,604; python: 1,179; makefile: 10; ansic: 9
file content (14 lines) | stat: -rwxr-xr-x 417 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)" -DCMAKE_BUILD_TYPE="Release"

override_dh_auto_install:
	dh_auto_install
	rm -f debian/tmp/usr/lib/python3/dist-packages/rds/*pyc
	rm -f debian/tmp/usr/lib/python3/dist-packages/rds/*pyo