| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --buildsystem=meson+ninja |
| 7 |
|
| 8 |
CONFIGURE_OPTS = -Denable-bgets-workaround=false -Denable-fuzzing=false -Denable-old-api=false -Denable-utf8=true |
| 9 |
|
| 10 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 11 |
CONFIGURE_OPTS += -Denable-tests=true |
| 12 |
endif |
| 13 |
|
| 14 |
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 15 |
CONFIGURE_OPTS += -Denable-docs=true |
| 16 |
endif |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
dh_auto_configure --buildsystem=meson+ninja -- $(CONFIGURE_OPTS) |