buildsys: use shorter variable name $@ in $(BUILDIR) target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
cd148033f3
commit
4f56d29218
14
Makefile
14
Makefile
@ -23,13 +23,13 @@ $(BUILDDIR): keycodemapdb | submodule
|
|||||||
# check if qemu/ was used for a build
|
# check if qemu/ was used for a build
|
||||||
# if so, please run 'make distclean' in the submodule and try again
|
# if so, please run 'make distclean' in the submodule and try again
|
||||||
test ! -f $(SRCDIR)/build/config.status
|
test ! -f $(SRCDIR)/build/config.status
|
||||||
rm -rf $(BUILDDIR).tmp $(BUILDDIR)
|
rm -rf $@.tmp $@
|
||||||
cp -a $(SRCDIR) $(BUILDDIR).tmp
|
cp -a $(SRCDIR) $@.tmp
|
||||||
cp -a debian $(BUILDDIR).tmp/debian
|
cp -a debian $@.tmp/debian
|
||||||
rm -rf $(BUILDDIR).tmp/ui/keycodemapdb
|
rm -rf $@.tmp/ui/keycodemapdb
|
||||||
cp -a keycodemapdb $(BUILDDIR).tmp/ui/
|
cp -a keycodemapdb $@.tmp/ui/
|
||||||
echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR).tmp/debian/SOURCE
|
echo "git clone git://git.proxmox.com/git/pve-qemu.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
|
||||||
mv $(BUILDDIR).tmp $(BUILDDIR)
|
mv $@.tmp $@
|
||||||
|
|
||||||
.PHONY: deb kvm
|
.PHONY: deb kvm
|
||||||
deb kvm: $(DEBS)
|
deb kvm: $(DEBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user