]> git.proxmox.com Git - pve-cluster.git/commitdiff
buildsys: add DSC target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 15:17:46 +0000 (17:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 15:17:46 +0000 (17:17 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 39c1911f71fd251e885d265be1118a1bf9f96d85..aca4917f1b0a53269b05fb15197b41464949edd2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,11 @@ $(BUILDDIR):
        echo "git clone git://git.proxmox.com/git/pve-cluster.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
        mv $@.tmp $@
 
+dsc: $(DSC)
+$(DSC): $(BUILDDIR)
+       cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
+       lintian $(DSC)
+
 .PHONY: deb
 deb $(DBG_DEB) $(LIB_DEB): $(DEB)
 $(DEB): $(BUILDDIR)
@@ -43,4 +48,4 @@ upload: $(DEBS)
 
 .PHONY: clean
 clean:
-       rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.dsc *.buildinfo
+       rm -rf $(PACKAGE)-[0-9]*/ *.deb *.dsc *.changes *.buildinfo *.build  *.tar.*