5
0
mirror of git://git.proxmox.com/git/pve-zsync.git synced 2024-12-21 17:33:49 +03:00

buildsys: create build directory atomically

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-05-24 13:44:06 +02:00
parent 54af66c2ec
commit 08c1544857

View File

@ -34,9 +34,10 @@ install: pve-zsync.8
install -d $(DOCDIR)
$(BUILDDIR):
rm -rf $(BUILDDIR)
rsync -a * $(BUILDDIR)
echo "git clone git://git.proxmox.com/git/dab.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
rm -rf $@.tmp $@
rsync -a * $@.tmp
echo "git clone git://git.proxmox.com/git/dab.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
mv $@.tmp $@
.PHONY: deb
deb: $(DEB)