From cd148033f3eebfbc4d203a27f496f379306fe4cc Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 22 May 2023 10:30:49 +0200 Subject: [PATCH] buildsys: only run lintian for phony dsc target This allows the sbuild to start much faster (lintian takes ~ minutes for such big packages), and that without loss as sbuild will run lintian on both binary and source package anyway. Signed-off-by: Thomas Lamprecht --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3dd1da7..799c424 100644 --- a/Makefile +++ b/Makefile @@ -45,11 +45,13 @@ $(ORIG_SRC_TAR): $(BUILDDIR) tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR) .PHONY: dsc -dsc: $(DSC) +dsc: + rm -rf *.dsc $(BUILDDIR) + $(MAKE) $(DSC) + lintian $(DSC) + $(DSC): $(ORIG_SRC_TAR) $(BUILDDIR) - rm -f *.dsc cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d - lintian $(DSC) .PHONY: update update: -- 2.39.5