Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
.PHONY: $(BUILDSRC)
$(BUILDSRC):
- rm -rf $(BUILDSRC)
- mkdir $(BUILDSRC)
- rsync -a debian Makefile PVE U2F.xs base64.h $(BUILDSRC)/
- echo "git clone git://git.proxmox.com/git/libpve-u2f-server-perl.git\\ngit checkout $(GITVERSION)" > $(BUILDSRC)/debian/SOURCE
+ rm -rf $@ $@.tmp
+ mkdir $@.tmp
+ cp -a debian Makefile PVE U2F.xs base64.h $@.tmp/
+ echo "git clone git://git.proxmox.com/git/libpve-u2f-server-perl.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
+ mv $@.tmp $@
.PHONY: deb
deb: $(DEB)