From 68a0d9585edf989a0f6aa6698f038dba1dc5da8c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 22 May 2023 14:46:45 +0200 Subject: [PATCH] buildsys: add sbuild convenience target and only call lintian for the dsc target, as otherwise sbuild already takes care of that (avoid duplicate work) Signed-off-by: Thomas Lamprecht --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index aa2a9b2..74be378 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,16 @@ $(DEB): $(BUILDDIR) check lintian $(DEBS) .PHONY: dsc -dsc: $(DSC) +dsc: + rm -rf $(DSC) $(BUILDDIR) + $(MAKE) $(DSC) + lintian $(DSC) + $(DSC): $(BUILDDIR) cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d - lintian $(DSC) + +sbuild: $(DSC) + sbuild $(DSC) .PHONY: check check: -- 2.39.2