]> git.proxmox.com Git - pve-guest-common.git/blobdiff - Makefile
bump version to 5.1.2
[pve-guest-common.git] / Makefile
index 068dc6013845a32f65b019ec6b990225b1686fd2..abf2b0dd5e4a86b57aded528165d017fe62df193 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,10 +23,15 @@ $(DEB): $(BUILDDIR)
        lintian $(DEB)
 
 .PHONY: dsc
-dsc: $(DSC)
+dsc:
+       $(MAKE) $(DSC)
+       lintian $(DSC)
+
 $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d -nc
-       lintian $(DSC)
+
+sbuild: $(DSC)
+       sbuild $(DSC)
 
 .PHONY: upload
 upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
@@ -34,9 +39,8 @@ upload: $(DEB)
        tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 distclean: clean
-
 clean:
-       rm -rf $(BUILDDIR) *.deb *.dsc *.changes *.buildinfo *.tar.gz
+       rm -rf $(PACKAGE)-[0-9]*/ *.deb *.dsc *.changes *.buildinfo *.build $(PACKAGE)*.tar*
 
 .PHONY: dinstall
 dinstall: $(DEB)