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:
parent
54af66c2ec
commit
08c1544857
7
Makefile
7
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user