#!/usr/bin/make -f

export DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_install:
ifeq ($(DEB_HOST_ARCH),amd64)
	mkdir -p $(CURDIR)/debian/mlnx-ofed-kernel-utils/
	cp -a data/mlnx-ofed-kernel-utils/amd64/* $(CURDIR)/debian/mlnx-ofed-kernel-utils/
endif
ifeq ($(DEB_HOST_ARCH),arm64)
	mkdir -p $(CURDIR)/debian/mlnx-ofed-kernel-utils/
	cp -a data/mlnx-ofed-kernel-utils/arm64/* $(CURDIR)/debian/mlnx-ofed-kernel-utils/
endif
	:

override_dh_fixperms: ;

override_dh_shlibdeps: ;

override_dh_strip: ;

override_dh_dwz: ;

DEB_VERSION = $(shell dpkg-parsechangelog -S 'Version' | cut -d ':' -f 2)
execute_after_dh_builddeb:
	:
