| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export GETTEXT_PACKAGE = libvisual-0.4 |
| 5 | |
| 6 | # Default configure flags |
| 7 | CONFIGURE_FLAGS = --enable-static |
| 8 | |
| 9 | # If building with profile pkg.libvisual.nosdl, disable lv-tool and examples |
| 10 | ifneq (,$(filter pkg.libvisual.nosdl,$(DEB_BUILD_PROFILES))) |
| 11 | CONFIGURE_FLAGS += --disable-lv-tool --disable-examples |
| 12 | endif |
| 13 | |
| 14 | %: |
| 15 | dh $@ |
| 16 | |
| 17 | override_dh_auto_configure: |
| 18 | dh_auto_configure -- $(CONFIGURE_FLAGS) |
| 19 | |
| 20 | override_dh_installdocs: |
| 21 | dh_installdocs -A AUTHORS NEWS README TODO |
| 22 |