]> git.proxmox.com Git - kronosnet.git/commitdiff
buildsys: improve DSC target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 17:03:27 +0000 (19:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 17:04:13 +0000 (19:04 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index cf3807a781e5cf63c7bd2866c061efa6639e8da0..f0afc74c29e6519bb598b673734327808b430f2f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,10 @@ $(MAIN_DEB): $(BUILDDIR)
 $(ORIG_SRC_TAR): $(BUILDDIR)
        tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
 
-dsc: $(DSC)
+dsc: clean
+       $(MAKE) $(DSC)
+       lintian $(DSC)
+
 $(DSC): $(BUILDDIR) $(ORIG_SRC_TAR)
        cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d