]> git.proxmox.com Git - spiceterm.git/commitdiff
buildsys: improve DSC target & add sbuild convenience target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 May 2023 13:20:54 +0000 (15:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 May 2023 13:22:40 +0000 (15:22 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index cd98589a6a76b8d3ff858b3bd9812dc0e8e60888..2e73808390941d4b0ad33d1a77df4bfea2397947 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,10 +16,15 @@ $(BUILDDIR): src/ debian/
        echo "git clone git://git.proxmox.com/git/spiceterm.git\\ngit checkout $(GITVERSION)" > $(BUILDDIR)/debian/SOURCE
 
 .PHONY: dsc
-dsc: $(DSC)
+dsc: clean
+       $(MAKE) $(DSC)
+       lintian $(DSC)
+
 $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
-       lintian $(DSC)
+
+sbuild: $(DSC)
+       sbuild $<
 
 .PHONY: deb
 deb: $(DEB)