From 4f56d29218d5efc7a0a6b1c5b5c1444449502816 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 22 May 2023 10:55:57 +0200 Subject: [PATCH] buildsys: use shorter variable name $@ in $(BUILDIR) target Signed-off-by: Thomas Lamprecht --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 799c424..3191ca9 100644 --- a/Makefile +++ b/Makefile @@ -23,13 +23,13 @@ $(BUILDDIR): keycodemapdb | submodule # check if qemu/ was used for a build # if so, please run 'make distclean' in the submodule and try again test ! -f $(SRCDIR)/build/config.status - rm -rf $(BUILDDIR).tmp $(BUILDDIR) - cp -a $(SRCDIR) $(BUILDDIR).tmp - cp -a debian $(BUILDDIR).tmp/debian - rm -rf $(BUILDDIR).tmp/ui/keycodemapdb - cp -a keycodemapdb $(BUILDDIR).tmp/ui/ - echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR).tmp/debian/SOURCE - mv $(BUILDDIR).tmp $(BUILDDIR) + rm -rf $@.tmp $@ + cp -a $(SRCDIR) $@.tmp + cp -a debian $@.tmp/debian + rm -rf $@.tmp/ui/keycodemapdb + cp -a keycodemapdb $@.tmp/ui/ + echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE + mv $@.tmp $@ .PHONY: deb kvm deb kvm: $(DEBS)