summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-03-20 09:53:04 +0100
committerJim Meyering <meyering@redhat.com>2011-03-20 10:00:00 +0100
commit28a280a98f066e4dbe6077f75d576b3a32d41d0d (patch)
treeda9767da4b9083cbdd8ad33b68ea8916be81f23d
parentc4a4623971318e83b26dab69fae6ce6f2a80302f (diff)
downloadgzip-28a280a98f066e4dbe6077f75d576b3a32d41d0d.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_file_system: Remove file. * .x-sc_prohibit_tab_based_indentation: Likewise. * .x-sc_require_config_h: Likewise. * .x-sc_require_config_h_first: Likewise. * cfg.mk: Define variables to exempt the same files.
-rw-r--r--.x-sc_file_system1
-rw-r--r--.x-sc_prohibit_tab_based_indentation3
-rw-r--r--.x-sc_require_config_h1
-rw-r--r--.x-sc_require_config_h_first1
-rw-r--r--cfg.mk9
m---------gnulib0
-rw-r--r--lib/.gitignore1
7 files changed, 10 insertions, 6 deletions
diff --git a/.x-sc_file_system b/.x-sc_file_system
deleted file mode 100644
index 3248afb..0000000
--- a/.x-sc_file_system
+++ /dev/null
@@ -1 +0,0 @@
-^NEWS$
diff --git a/.x-sc_prohibit_tab_based_indentation b/.x-sc_prohibit_tab_based_indentation
deleted file mode 100644
index 13276eb..0000000
--- a/.x-sc_prohibit_tab_based_indentation
+++ /dev/null
@@ -1,3 +0,0 @@
-(^|/)(GNU)?[Mm]akefile
-(^|/)ChangeLog
-\.(am|mk)$
diff --git a/.x-sc_require_config_h b/.x-sc_require_config_h
deleted file mode 100644
index a89d68c..0000000
--- a/.x-sc_require_config_h
+++ /dev/null
@@ -1 +0,0 @@
-lib/match\.c
diff --git a/.x-sc_require_config_h_first b/.x-sc_require_config_h_first
deleted file mode 100644
index a89d68c..0000000
--- a/.x-sc_require_config_h_first
+++ /dev/null
@@ -1 +0,0 @@
-lib/match\.c
diff --git a/cfg.mk b/cfg.mk
index cbe5297..f9e7d25 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -65,3 +65,12 @@ sc_prohibit_emacs__indent_tabs_mode__setting:
$(_sc_search_regexp)
include $(srcdir)/dist-check.mk
+
+exclude_file_name_regexp--sc_file_system = ^NEWS$$
+exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
+ (^|/)(GNU)?[Mm]akefile|(^|/)ChangeLog|\.(am|mk)$$
+exclude_file_name_regexp--sc_require_config_h = ^lib/match\.c$$
+exclude_file_name_regexp--sc_require_config_h_first = ^lib/match\.c$$
+exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
+ ^tests/hufts-segv\.gz$$
+exclude_file_name_regexp--sc_prohibit_strcmp = ^gzip\.c$$
diff --git a/gnulib b/gnulib
-Subproject a2e8447d6b8abe23504f4f2d4757a60a2e8bee5
+Subproject 739321ef60661c7b51a4c7a3fa23957a4d9dbbc
diff --git a/lib/.gitignore b/lib/.gitignore
index eb2b4c6..91d93cf 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -32,6 +32,7 @@
/dirfd.c
/dirname-lgpl.c
/dirname.h
+/dosname.h
/dup-safer.c
/dup2.c
/errno.h