]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
buildsys: improve DSC target & add sbuild convenience target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 08:15:11 +0000 (10:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 08:15:11 +0000 (10:15 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 615dcaf6194378861f948c0edf42666fc4150a1c..47c1cf1916fd0b59968d4737aebe5cb1e1c761fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,9 +26,15 @@ $(DEBS): $(BUILDDIR)
 
 .PHONY: dsc
 dsc: $(DSC)
+       $(MAKE) clean
+       $(MAKE) $(DSC)
+       lintian $(DSC)
+
 $(DSC): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
-       lintian $(DSC)
+
+sbuild: $(DSC)
+       sbuild $(DSC)
 
 .PHONY: lint
 lint: $(JSSRC)