mirror of
git://git.proxmox.com/git/pve-ha-manager.git
synced 2025-01-31 05:47:19 +03:00
buildsys: make build-dir generation atomic
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
576ae6e7d5
commit
1b91242ae9
8
Makefile
8
Makefile
@ -17,9 +17,11 @@ SIMDSC=$(SIMPACKAGE)_$(DEB_VERSION).dsc
|
||||
all: deb
|
||||
|
||||
$(BUILDDIR):
|
||||
rm -rf $(BUILDDIR)
|
||||
rsync -a src/ debian $(BUILDDIR)
|
||||
echo "git clone git://git.proxmox.com/git/pve-ha-manager.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
|
||||
rm -rf $@ $@.tmp
|
||||
cp -a src/ $@.tmp
|
||||
cp -a debian $@.tmp/
|
||||
echo "git clone git://git.proxmox.com/git/pve-ha-manager.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
|
||||
mv $@.tmp $@
|
||||
|
||||
.PHONY: dinstall
|
||||
dinstall: $(DEB) $(SIMDEB)
|
||||
|
Loading…
x
Reference in New Issue
Block a user