File: rules

package info (click to toggle)
libnbd 1.24.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,956 kB
  • sloc: ansic: 55,158; ml: 12,325; sh: 8,811; python: 4,757; makefile: 3,038; perl: 165; cpp: 24
file content (20 lines) | stat: -rwxr-xr-x 503 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

# Influcnce Python sysconfig.get_path() as called from configure so
# that the correct install paths are chosen.
export DEB_PYTHON_INSTALL_LAYOUT = deb_system

%:
	dh $@ --with=python3,ocaml

# Work around /usr/sbin/nbdkit not being found by test programs simply
# calling "nbdkit"
override_dh_auto_test: export PATH:=/usr/sbin:/sbin:$(PATH)
override_dh_auto_test:
	dh_auto_test

override_dh_install:
	dh_install -X.la -X.so.owner
override_dh_missing:
	dh_missing -X.la -X.so.owner