From 9aff1f202918bc2f4aa958d4744d1216c00ee50c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 20 Mar 2011 11:03:10 +0100 Subject: 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_GPL_version: Remove file. * .x-sc_prohibit_always-defined_macros: Likewise. * Makefile.am (EXTRA_DIST): Remove them from here, too. * cfg.mk: Define variables to exempt the same files. --- cfg.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cfg.mk') diff --git a/cfg.mk b/cfg.mk index 5cb6976..773e2ef 100644 --- a/cfg.mk +++ b/cfg.mk @@ -57,3 +57,14 @@ bootstrap-tools = autoconf,automake,gettext,gnulib,gperf update-copyright-env = \ UPDATE_COPYRIGHT_USE_INTERVALS=1 \ UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 + +#==> .j/.x-sc_GPL_version <== +#build-aux/vc-list-files + +exclude_file_name_regexp--sc_bindtextdomain = ^(libparted/)?tests/.*\.c$$ + +exclude_file_name_regexp--sc_cross_check_PATH_usage_in_tests = \ + ^libparted/tests/t.*\.sh$$ + +exclude_file_name_regexp--sc_prohibit_always-defined_macros = \ + ^parted/(strlist|table)\.h$$ -- cgit v1.2.1