$(BUILDDIR):
rm -rf $@.tmp $@
rsync -a * $@.tmp
- echo "git clone git://git.proxmox.com/git/dab.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
+ echo "git clone git://git.proxmox.com/git/pve-zsync.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
mv $@.tmp $@
.PHONY: deb
.PHONY: dsc
dsc: $(DSC)
$(DSC):$(BUILDDIR)
- cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d -nc
+ cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
lintian $(DSC)
sbuild: $(DSC)
.PHONY: clean
clean:
- rm -rf $(BUILDDIR) *.deb *.dsc $(PACKAGE)*.tar.gz *.buildinfo *.changes
+ rm -rf $(PACKAGE)-[0-9]*/ *.deb *.dsc $(PACKAGE)*.tar.?z *.build *.buildinfo *.changes
find . -name '*~' -exec rm {} ';'
.PHONY: distclean