1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
debian_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
include /usr/share/dpkg/default.mk
%:
dh $@ --with python3
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf ./autogen.sh --
override_dh_auto_configure:
dh_auto_configure \
PYTHON=/usr/bin/python3 \
$(NULL)
override_dh_auto_build:
dh_auto_build
sed -e 's!@docdir@!/usr/share/doc/mpdris2!' \
< debian/mpDris2.1.in \
> debian/mpDris2.1
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
sed -i -e '1s,.*,
override_dh_install:
rm -f debian/tmp/usr/share/doc/mpdris2/COPYING
dh_install
|