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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 3dd1da7..799c424 100644 --- a/Makefile +++ b/Makefile @@ -45,12 +45,14 @@ $(ORIG_SRC_TAR): $(BUILDDIR) tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR) .PHONY: dsc -dsc: $(DSC) -$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR) - rm -f *.dsc - cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d +dsc: + rm -rf *.dsc $(BUILDDIR) + $(MAKE) $(DSC) lintian $(DSC) +$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR) + cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d + .PHONY: update update: cd $(SRCDIR) && git submodule deinit ui/keycodemapdb || true