buildsys: improve DSC target

This avoids a duplicate call to lintian on sbuild target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-28 16:04:51 +02:00
parent f3417b078c
commit c21e45da93

View File

@ -27,10 +27,12 @@ $(ORIG_SRC_TAR): $(BUILDDIR)
tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
.PHONY: dsc
dsc: $(DSC)
dsc: clean
$(MAKE) $(DSC)
lintian $@
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
lintian $@
sbuild: $(DSC)
sbuild $(DSC)