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 <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2023-06-16 17:41:39 +02:00 committed by Thomas Lamprecht
parent 1df968e8ed
commit 212cf62662

View File

@ -31,10 +31,12 @@ $(BUILDSRC):
echo "git clone git://git.proxmox.com/git/pve-storage.git\\ngit checkout $(GITVERSION)" >$(BUILDSRC)/debian/SOURCE echo "git clone git://git.proxmox.com/git/pve-storage.git\\ngit checkout $(GITVERSION)" >$(BUILDSRC)/debian/SOURCE
.PHONY: dsc .PHONY: dsc
dsc: $(DSC) dsc:
$(MAKE) $(DSC)
lintian $(DSC)
$(DSC): $(BUILDSRC) $(DSC): $(BUILDSRC)
cd $(BUILDSRC); dpkg-buildpackage -S -us -uc -d -nc cd $(BUILDSRC); dpkg-buildpackage -S -us -uc -d -nc
lintian $(DSC)
.PHONY: sbuild .PHONY: sbuild
sbuild: $(DSC) sbuild: $(DSC)