Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2
3 include /usr/share/dpkg/default.mk
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 ifeq ($(DEB_BUILD_ARCH_OS),linux)
11 LIBBPF_OPTS=-DLIBBPF_EMBEDDED=off
12 else
13 LIBBPF_OPTS=-DLIBBPF_ENABLED=off
14 endif
15
16 %:
17 dh $@
18
19 override_dh_auto_configure:
20 dh_auto_configure -- \
21 $(LIBBPF_OPTS)
22
23 execute_after_dh_auto_install:
24 # remove them for now, will be included in a next upload
25 # (requires python and matplotlib)
26 rm -Rf debian/tmp/usr/share/dwarves/runtime/python debian/tmp/usr/bin/ostra-cg