From: Thomas Lamprecht Date: Tue, 1 Feb 2022 13:06:11 +0000 (+0100) Subject: buildsys: use only one parenthesis style X-Git-Url: https://git.proxmox.com/?p=pmg-log-tracker.git;a=commitdiff_plain;h=71e42fc1f867bcf0aa75fd624f1ee9f95063308a buildsys: use only one parenthesis style Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index 1cf05ef..199ac5a 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ PACKAGE=pmg-log-tracker GITVERSION:=$(shell git rev-parse HEAD) -DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb -DSC=rust-${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc +DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb +DSC=rust-$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc ifeq ($(BUILD_MODE), release) CARGO_BUILD_ARGS += --release @@ -49,17 +49,17 @@ $(DSC): build lintian $(DSC) .PHONY: dinstall -dinstall: ${DEB} - dpkg -i ${DEB} +dinstall: $(DEB) + dpkg -i $(DEB) .PHONY: upload -upload: ${DEB} ${DBG_DEB} - tar cf - ${DEB} ${DBG_DEB}| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye --arch ${DEB_BUILD_ARCH} +upload: $(DEB) $(DBG_DEB) + tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye --arch $(DEB_BUILD_ARCH) .PHONY: distclean distclean: clean .PHONY: clean clean: - rm -rf *.deb ${PACKAGE}-* *.buildinfo *.changes *.dsc rust-${PACKAGE}_*.tar.?z build/ + rm -rf *.deb $(PACKAGE)-* *.buildinfo *.changes *.dsc rust-$(PACKAGE)_*.tar.?z build/ find . -name '*~' -exec rm {} ';'