File: rules

package info (click to toggle)
rl-accel 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 156 kB
  • sloc: ansic: 1,199; python: 101; makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

#export DH_VERBOSE = 1

export PYBUILD_NAME=rl-accel

%:
	dh $@ --buildsystem=pybuild

PATHS2PYTHON_H = $(shell dpkg -l libpython3*dev| sed -n 's%ii  lib\(python3\..*\)-dev.*%-I/usr/include/\1% p'| xargs echo)

override_dh_auto_build:
	export CFLAGS="$(PATHS2PYTHON_H)"; dh_auto_build