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>
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)