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