]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: fix syntax check during 'make distcheck'
authorEric Blake <eblake@redhat.com>
Thu, 16 Aug 2012 22:18:44 +0000 (16:18 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 16 Aug 2012 22:37:27 +0000 (16:37 -0600)
'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.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 1318593b511312c27973eae8e821d129affbb47f..e9138a87f9352342a126223fbec607863d6c1a11 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -85,7 +85,7 @@ local-checks-to-skip =                        \
 ifeq ($(filter dist%, $(MAKECMDGOALS)), )
 local-checks-to-skip +=        sc_vulnerable_makefile_CVE-2012-3386
 else
-distdir: sc_vulnerable_makefile_CVE-2012-3386
+distdir: sc_vulnerable_makefile_CVE-2012-3386.z
 endif
 
 # Files that should never cause syntax check failures.