From 212cf62662b04004ceb13a339c99213b9a861e24 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Fri, 16 Jun 2023 17:41:39 +0200 Subject: [PATCH] buildsys: only call lintian for phony dsc target to prevent running twice for `sbuild` convenience target inspired by 68a0d9585edf989a0f6aa6698f038dba1dc5da8c in pve-firewall (and similar commits in other repositories) Signed-off-by: Stoiko Ivanov Signed-off-by: Thomas Lamprecht --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a98142c..d96438d 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,12 @@ $(BUILDSRC): echo "git clone git://git.proxmox.com/git/pve-storage.git\\ngit checkout $(GITVERSION)" >$(BUILDSRC)/debian/SOURCE .PHONY: dsc -dsc: $(DSC) +dsc: + $(MAKE) $(DSC) + lintian $(DSC) + $(DSC): $(BUILDSRC) cd $(BUILDSRC); dpkg-buildpackage -S -us -uc -d -nc - lintian $(DSC) .PHONY: sbuild sbuild: $(DSC)