summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-17 10:15:43 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-19 14:12:33 +0100
commit66b2d90a233c7feb3c67aee7d260adcac7b4a060 (patch)
treec39c15e5844ff3e57338222dc401226f0eaa6ccd
parent7e24c5bca48676d1e08ca55db9c94cba95e7a6f7 (diff)
downloadlibguestfs-66b2d90a233c7feb3c67aee7d260adcac7b4a060.tar.gz
libguestfs-66b2d90a233c7feb3c67aee7d260adcac7b4a060.tar.xz
libguestfs-66b2d90a233c7feb3c67aee7d260adcac7b4a060.zip
syntax: Exclude examples and test program from <config.h> requirement
(thanks Jim Meyering). (cherry picked from commit 3988dec9b7bbf3cb8628aff879d1f518a9d52404)
-rw-r--r--cfg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 000ea631..e619f0ae 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -33,6 +33,7 @@ exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$
exclude_file_name_regexp--sc_prohibit_strcmp = ^examples/
exclude_file_name_regexp--sc_prohibit_strcmp_and_strncmp = ^examples/
exclude_file_name_regexp--sc_prohibit_strncpy = ^src/launch-.*\.c$
+exclude_file_name_regexp--sc_require_config_h = ^examples/|^tests/c-api/test-just-header\.c$
# Tests not to run as part of "make distcheck".
local-checks-to-skip = \