Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # must be before including anything
4 debian_dir := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
5
6 include /usr/share/dpkg/default.mk
7
8 %:
9 dh $@ --with python3 --without single-binary
10
11 override_dh_autoreconf:
12 NOCONFIGURE=1 dh_autoreconf ./autogen.sh --
13
14 override_dh_auto_configure:
15 dh_auto_configure \
16 PYTHON=/usr/bin/python3 \
17 $(NULL)
18
19 execute_after_dh_auto_build:
20 sed -e 's!@docdir@!/usr/share/doc/mpdris2!' \
21 < debian/mpDris2.1.in \
22 > debian/mpDris2.1
23
24 execute_after_dh_auto_install:
25 sed -i -e '1s,.*,#!/usr/bin/python3,' debian/tmp/usr/bin/mpDris2
26
27 execute_before_dh_install:
28 rm -f debian/tmp/usr/share/doc/mpdris2/COPYING