5 DEB_HOST_ARCH_CPU
:= $(shell dpkg-architecture
-qDEB_HOST_ARCH_CPU
2>/dev
/null
)
6 ifeq (amd64
, $(DEB_HOST_ARCH_CPU
))
9 ifeq (i386
, $(DEB_HOST_ARCH_CPU
))
12 $(warning EFI architecture for
$(DEB_HOST_ARCH_CPU
) is unknown
)
13 EFI_ARCH
:= $(DEB_HOST_ARCH_CPU
)
20 override_dh_auto_clean
:
24 override_dh_auto_build
:
28 override_dh_auto_install
:
29 # "make install" actually runs "efi-install" for the current system, so let's not do that :)
33 mkdir
-p debian
/refind
/usr
/share
/refind
/refind
/tools_
$(EFI_ARCH
)
34 cp gptsync
/gptsync_
$(EFI_ARCH
).efi debian
/refind
/usr
/share
/refind
/refind
/tools_
$(EFI_ARCH
)/
36 override_dh_installchangelogs
:
37 dh_installchangelogs NEWS.txt