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

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/326/head
Manos Pitsidianakis 5 months ago
parent b3079715f6
commit 97eb636375
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

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

Loading…
Cancel
Save