| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | include /usr/share/dpkg/architecture.mk |
| 6 | |
| 7 | # Fix cross building |
| 8 | ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) |
| 9 | export ac_cv_func_malloc_0_nonnull=yes |
| 10 | endif |
| 11 | |
| 12 | %: |
| 13 | dh $@ |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | # Don't enable tests, if no elektron device is connected |
| 17 | @echo "Tests disabled" |
| 18 | |
| 19 | execute_after_dh_auto_install: |
| 20 | # We remove the headers, so far we have no -dev package |
| 21 | rm -fr $(CURDIR)/debian/elektroid/usr/include |