$(BUILDDIR):
rm -rf $(BUILDDIR).tmp
- mkdir $(BUILDDIR).tmp
- cp -a debian qrcode.min.js $(BUILDDIR).tmp/
+ cp -a src $(BUILDDIR).tmp
+ cp -a debian $(BUILDDIR).tmp/
echo "git clone git://git.proxmox.com/git/libjs-qrcodejs.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR).tmp/debian/SOURCE
mv $(BUILDDIR).tmp/ $(BUILDDIR)
$(DSC): $(BUILDDIR) $(ORIG_SRC_TAR)
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
+sbuild: $(DSC)
+ sbuild $(DSC)
+
.PHONY: upload
upload: $(DEB)
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist buster
distclean: clean
clean:
+ $(MAKE) -C src clean
rm -rf $(PACKAGE)-[0-9]*/ $(PACKAGE)*tar* *.dsc *.deb *.changes *.build *.buildinfo
.PHONY: dinstall