summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-03-19 17:53:32 +0100
committerJim Meyering <meyering@redhat.com>2011-03-19 18:23:51 +0100
commit7fd11db8f49eeecb0015e78aceadd921948c3cff (patch)
tree2cf4478d4deb73a9f50373fadc168c6f0719c31b /cfg.mk
parent2b0096f64c460e53118835238c01afde0ac508e8 (diff)
downloadgrep-7fd11db8f49eeecb0015e78aceadd921948c3cff.tar.gz
maint: stop using .x-sc_* files to list syntax-check exemptions
Instead, use the new mechanism with which you merely use a variable (derived from the rule name) defined in cfg.mk to an ERE matching the exempted file names. * gnulib: Update to latest, to get maint.mk that implements this. * .x-sc_bindtextdomain: Remove file. * .x-sc_prohibit_tab_based_indentation: Likewise. * .x-sc_prohibit_xalloc_without_use: Likewise. * .x-sc_space_tab: Likewise. * cfg.mk: Define variables to exempt the same files.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index e5fb0917..9b7b93d6 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -57,3 +57,9 @@ sc_prohibit_emacs__indent_tabs_mode__setting:
update-copyright-env = \
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
+
+exclude_file_name_regexp--sc_bindtextdomain = ^tests/get-mb-cur-max\.c$$
+exclude_file_name_regexp--sc_prohibit_xalloc_without_use = ^src/kwset\.c$$
+exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
+ (Makefile|\.(am|mk)$$|^gl/lib/.*\.c\.diff$$)
+exclude_file_name_regexp--sc_space_tab = ^gl/lib/.*\.c\.diff$$