mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-02-03 13:47:15 +03:00
buildsys: create build directory atomically
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4fa27f2d54
commit
ad19e46861
7
Makefile
7
Makefile
@ -81,9 +81,10 @@ install: $(PKGSOURCES)
|
||||
cd $(DESTDIR)/$(MAN5DIR); ln -s -f qm.conf.5.gz vm.conf.5.gz
|
||||
|
||||
$(BUILDDIR):
|
||||
rm -rf $(BUILDDIR)
|
||||
rsync -a * $(BUILDDIR)
|
||||
echo "git clone git://git.proxmox.com/git/qemu-server.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
|
||||
rm -rf $(BUILDDIR) $(BUILDDIR).tmp
|
||||
rsync -a * $(BUILDDIR).tmp
|
||||
echo "git clone git://git.proxmox.com/git/qemu-server.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR).tmp/debian/SOURCE
|
||||
mv $(BUILDDIR).tmp $(BUILDDIR)
|
||||
|
||||
.PHONY: deb
|
||||
deb: $(DEBS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user