Makefile: add dpkg --print-architecture to deb filename

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/326/head
Manos Pitsidianakis 2023-12-12 18:20:50 +02:00
parent b3079715f6
commit 97eb636375
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
1 changed files with 1 additions and 1 deletions

View File

@ -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: