I noticed a couple of syntax check exception files
missing from the distribution tarball. Specifically
.x-sc_require_config_h_first and .x-sc_error_message_uppercase

The attached patch changes things so we don't have to
maintain the list.

cheers,
Pádraig.
>From 2f6339766a0f32ab709b2ab2fc24c67b5b071cce Mon Sep 17 00:00:00 2001
From: =?utf-8?q?P=C3=A1draig=20Brady?= <[email protected]>
Date: Thu, 4 Jun 2009 18:31:16 +0100
Subject: [PATCH] maint: use a wildcard to include all syntax check exceptions in dist

* Makefile.am: A couple of syntax check exception files were
missing from the distribution target. Specifically
.x-sc_require_config_h_first and .x-sc_error_message_uppercase
Instead of adding them, simplify the list to a wildcard which
`make` will expand when it resolves its prerequisites.
---
 Makefile.am |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7670cd6..5bb1d46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,25 +38,9 @@ changelog_etc =				\
   old/textutils/NEWS			\
   po/ChangeLog-2007
 
-syntax_check_exceptions =		\
-  .x-sc_GPL_version			\
-  .x-sc_file_system			\
-  .x-sc_obsolete_symbols		\
-  .x-sc_po_check			\
-  .x-sc_program_name			\
-  .x-sc_prohibit_atoi_atof		\
-  .x-sc_prohibit_stat_st_blocks		\
-  .x-sc_prohibit_strcmp			\
-  .x-sc_require_config_h		\
-  .x-sc_space_tab			\
-  .x-sc_sun_os_names			\
-  .x-sc_trailing_blank			\
-  .x-sc_unmarked_diagnostics		\
-  .x-sc_useless_cpp_parens
-
 EXTRA_DIST =				\
   $(changelog_etc)			\
-  $(syntax_check_exceptions)		\
+  .x-sc_*				\
   .prev-version				\
   .version				\
   .vg-suppressions			\
-- 
1.5.3.6

_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to