mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
build: fix syntax check during 'make distcheck'
'make distcheck' was failing because a syntax check file, .sc-start-sc_vulnerable_makefile_CVE-2012-3386, got left behind. I traced it to the 'distdir' rule depending on a shortcut syntax-check name rather than the full rule name normally used during 'local-check' from maint.mk. * cfg.mk (distdir): Depend on full rule, not shorthand name.
This commit is contained in:
parent
b44e6bef90
commit
ca9be83de9
2
cfg.mk
2
cfg.mk
@ -85,7 +85,7 @@ local-checks-to-skip = \
|
|||||||
ifeq ($(filter dist%, $(MAKECMDGOALS)), )
|
ifeq ($(filter dist%, $(MAKECMDGOALS)), )
|
||||||
local-checks-to-skip += sc_vulnerable_makefile_CVE-2012-3386
|
local-checks-to-skip += sc_vulnerable_makefile_CVE-2012-3386
|
||||||
else
|
else
|
||||||
distdir: sc_vulnerable_makefile_CVE-2012-3386
|
distdir: sc_vulnerable_makefile_CVE-2012-3386.z
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Files that should never cause syntax check failures.
|
# Files that should never cause syntax check failures.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user