Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 CONFIGURE_OPTS=--wrap-mode=default
6 DH_INSTALL_OPTS =
7
8 ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
9 CONFIGURE_OPTS += -Dtests=false
10 endif
11
12 ifneq (,$(filter nogir,$(DEB_BUILD_PROFILES)))
13 CONFIGURE_OPTS += -Dintrospection=disabled
14 CONFIGURE_OPTS += -Dvapi=false
15 DH_INSTALL_OPTS += -Xusr/share/vala/vapi
16 endif
17
18 %:
19 dh $@ --builddirectory=_build
20
21 override_dh_auto_configure:
22 dh_auto_configure -- $(CONFIGURE_OPTS)
23
24 override_dh_auto_test:
25 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
26 dbus-run-session meson test -C _build
27 endif
28
29 override_dh_install:
30 dh_install $(DH_INSTALL_OPTS)
31
32 override_dh_auto_clean:
33 dh_auto_clean
34 find subprojects/ -type f -name '.meson-subproject-wrap-hash.txt' -delete