]> git.proxmox.com Git - pve-guest-common.git/commitdiff
buildsys: add sbuild convenience target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 11:23:44 +0000 (13:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 11:24:50 +0000 (13:24 +0200)
And only run lintian explicitly for the dsc target, as sbuild runs it
itself anyway

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index a0cb37d18a6c37a63358d053c0318643d339668f..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)