summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-03-20 11:03:10 +0100
committerJim Meyering <meyering@redhat.com>2011-03-20 11:35:55 +0100
commit9aff1f202918bc2f4aa958d4744d1216c00ee50c (patch)
treed9907687d214b549644ce6f48090ce7b9e97928d /cfg.mk
parent163150a9e5a1c62a67dda1861e139b77584b3434 (diff)
downloadparted-9aff1f202918bc2f4aa958d4744d1216c00ee50c.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_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.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk11
1 files changed, 11 insertions, 0 deletions
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$$