mirror of
git://git.proxmox.com/git/pve-qemu.git
synced 2025-09-06 13:44:23 +03:00
buildsys: only run lintian for phony dsc target
This allows the sbuild to start much faster (lintian takes ~ minutes for such big packages), and that without loss as sbuild will run lintian on both binary and source package anyway. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
10
Makefile
10
Makefile
@@ -45,12 +45,14 @@ $(ORIG_SRC_TAR): $(BUILDDIR)
|
||||
tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
|
||||
|
||||
.PHONY: dsc
|
||||
dsc: $(DSC)
|
||||
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
|
||||
rm -f *.dsc
|
||||
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
||||
dsc:
|
||||
rm -rf *.dsc $(BUILDDIR)
|
||||
$(MAKE) $(DSC)
|
||||
lintian $(DSC)
|
||||
|
||||
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
|
||||
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
|
||||
|
||||
.PHONY: update
|
||||
update:
|
||||
cd $(SRCDIR) && git submodule deinit ui/keycodemapdb || true
|
||||
|
Reference in New Issue
Block a user