qubes-linux-utils/debian/rules
Marek Marczykowski-Górecki 13b9ea7f1c
debian: fix install location of python files
Debian use /usr/lib/python*/dist-packages (instead of site-packages) for
packaged python modules. It's achieved using --install-layout=deb
option, so pass it on Debian build.
2017-04-08 13:58:34 +02:00

18 lines
415 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
export DESTDIR=$(shell pwd)/debian/tmp
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with=systemd,dkms
override_dh_auto_build:
make all LIBDIR=/usr/lib DEBIANBUILD=1
override_dh_auto_install:
make install LIBDIR=/usr/lib DEBIANBUILD=1 PYTHON_PREFIX_ARG=--install-layout=deb
make install-debian-kernel-support LIBDIR=/usr/lib DEBIANBUILD=1