From 97eb6363756f18e91024dfd3f2407fdc70d6d9c3 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Tue, 12 Dec 2023 18:20:50 +0200 Subject: [PATCH] Makefile: add dpkg --print-architecture to deb filename Signed-off-by: Manos Pitsidianakis --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d22c1e1..74be4a58 100644 --- a/Makefile +++ b/Makefile @@ -192,7 +192,7 @@ dist: deb-dist: @author=$(grep -m1 authors meli/Cargo.toml | head -n1 | cut -d'"' -f 2 | head -n1) @dpkg-buildpackage -b -rfakeroot -us -uc --build-by="${author}" --release-by="${author}" - @echo ${BOLD}${GREEN}Generated${ANSI_RESET} ../meli_${VERSION}-1_amd64.deb + @echo ${BOLD}${GREEN}Generated${ANSI_RESET} ../meli_${VERSION}-1_`dpkg --print-architecture`.deb .PHONY: build-rustdoc build-rustdoc: