]> git.proxmox.com Git - libjs-qrcodejs.git/blobdiff - Makefile
d/control: define compat level via build-depends and raise to 13
[libjs-qrcodejs.git] / Makefile
index abdc6a0df7d907e84f3a9d290eeae7d17883a4b6..520678c93a189058aa5899a539a7ea9d041d9129 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,8 @@ all:
 
 $(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)
 
@@ -37,12 +37,16 @@ dsc: $(DSC)
 $(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