File: rules

package info (click to toggle)
libiio 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,352 kB
  • sloc: ansic: 13,982; cs: 688; python: 584; yacc: 419; sh: 412; xml: 192; lex: 170; makefile: 32
file content (20 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
%:
	dh $@ --builddirectory=build --with python2 --with python3

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_SKIP_INSTALL_RPATH=On

override_dh_auto_build:
	dh_auto_build
	python3 build/bindings/python/setup.py build

override_dh_auto_install:
	dh_auto_install
	python3 build/bindings/python/setup.py install --root=debian/tmp/ --prefix=/usr

override_dh_compress:
	dh_compress -X.c -X.C

#override_dh_clistrip:
#	dh_clistrip --exclude=mdb