]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Clarified error message
authorDavid Allan <dallan@redhat.com>
Mon, 5 Apr 2010 14:17:31 +0000 (10:17 -0400)
committerDavid Allan <dallan@redhat.com>
Mon, 5 Apr 2010 14:24:13 +0000 (10:24 -0400)
* Since the file pattern matches RNG schemas as well as C sources, the error message should mention both.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 74fe5ed4c9981987b967c855e022646d25702e7b..dcf73c4185651381811f8bc589cc1b3f38d796f4 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -133,13 +133,13 @@ sc_prohibit_ctype_h:
        halt="don't use ctype.h; instead, use c-ctype.h"                \
         $(_sc_search_regexp)
 
-# Ensure that no C source file uses TABs for indentation.
-# Also match *.h.in files, to get libvirt.h.in.
-# Exclude files in gnulib, since they're imported.
+# Ensure that no C source file or rng schema uses TABs for
+# indentation.  Also match *.h.in files, to get libvirt.h.in.  Exclude
+# files in gnulib, since they're imported.
 sc_TAB_in_indentation:
        @prohibit='^ *  '                                               \
        in_vc_files='\.(rng|[ch](\.in)?)$$'                             \
-       halt='use spaces, not TAB, for indentation in C sources'        \
+       halt='use spaces, not TAB, for indentation in C sources and RNG schemas' \
         $(_sc_search_regexp)
 
 ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\