Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
6
7 ifneq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
8 DOC= -Ddocs=disabled
9 endif
10
11
12 %:
13 dh $@ --buildsystem=meson
14
15 override_dh_auto_configure:
16 dh_auto_configure -- $(DOC) \
17 -Ddefault_lv2_path='~/.lv2:/usr/local/lib/lv2:/usr/lib/$(DEB_HOST_MULTIARCH)/lv2:/usr/lib/lv2'
18
19 ifneq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
20 override_dh_install-indep:
21 echo "usr/share/doc/lilv-0/singlehtml/" has not bee built, skipping
22 endif
23
24 override_dh_installchangelogs:
25 dh_installchangelogs NEWS