From f05c2303fa04ea4ecc201fdcd903f42f04ad07b8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 22 May 2023 13:23:44 +0200 Subject: [PATCH] buildsys: add sbuild convenience target And only run lintian explicitly for the dsc target, as sbuild runs it itself anyway Signed-off-by: Thomas Lamprecht --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a0cb37d..abf2b0d 100644 --- a/Makefile +++ b/Makefile @@ -23,10 +23,15 @@ $(DEB): $(BUILDDIR) lintian $(DEB) .PHONY: dsc -dsc: $(DSC) +dsc: + $(MAKE) $(DSC) + lintian $(DSC) + $(DSC): $(BUILDDIR) cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d -nc - lintian $(DSC) + +sbuild: $(DSC) + sbuild $(DSC) .PHONY: upload upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)