From c21e45da936f41843332d5d12660aae4007e507e Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 28 May 2023 16:04:51 +0200 Subject: [PATCH] buildsys: improve DSC target This avoids a duplicate call to lintian on sbuild target Signed-off-by: Thomas Lamprecht --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cff9c43e..8891d1d1 100644 --- a/Makefile +++ b/Makefile @@ -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)