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-17 10:15:43 +0100
commit3988dec9b7bbf3cb8628aff879d1f518a9d52404 (patch)
tree6ad9e9538230d406b9fc78558367da7361a3d91b
parent72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c (diff)
downloadlibguestfs-3988dec9b7bbf3cb8628aff879d1f518a9d52404.tar.gz
libguestfs-3988dec9b7bbf3cb8628aff879d1f518a9d52404.tar.xz
libguestfs-3988dec9b7bbf3cb8628aff879d1f518a9d52404.zip
syntax: Exclude examples and test program from <config.h> requirement
(thanks Jim Meyering).
-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 = \