]> git.proxmox.com Git - proxmox-archive-keyring.git/commitdiff
makefile: convert to use simple parenthesis
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 14:47:20 +0000 (16:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 14:47:20 +0000 (16:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 3206b633974716ce5909fd72f31bf9b71294b897..b782fb3767951662ccd1d4333b9c009b57bd7584 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,28 +4,28 @@ PACKAGE=proxmox-archive-keyring
 
 GITVERSION:=$(shell git rev-parse HEAD)
 
-DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
 
 BUILD_DIR=build
 
 all: deb
-deb: ${DEB}
+deb: $(DEB)
 
-${DEB}: debian
-       rm -rf ${BUILD_DIR}
-       mkdir -p ${BUILD_DIR}/debian
-       cp -ar debian/* ${BUILD_DIR}/debian/
-       echo "git clone git://git.proxmox.com/git/proxmox-archive-keyring.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian/SOURCE
-       cd ${BUILD_DIR}; dpkg-buildpackage -b -uc -us
-       lintian ${DEB}
+$(DEB): debian
+       rm -rf $(BUILD_DIR)
+       mkdir -p $(BUILD_DIR)/debian
+       cp -ar debian/* $(BUILD_DIR)/debian/
+       echo "git clone git://git.proxmox.com/git/proxmox-archive-keyring.git\\ngit checkout $(GITVERSION)" > $(BUILD_DIR)/debian/SOURCE
+       cd $(BUILD_DIR); dpkg-buildpackage -b -uc -us
+       lintian $(DEB)
 
 .PHONY: upload
-upload: ${DEB}
-       tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs,pbs-client,infra --dist bookworm
+upload: $(DEB)
+       tar cf - $(DEB)|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs,pbs-client,infra --dist bookworm
 
 .PHONY: distclean
 distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *~ ${BUILD_DIR} *.deb *.dsc *.changes *.buildinfo
+       rm -rf *~ $(BUILD_DIR) *.deb *.dsc *.changes *.buildinfo