bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint.mk: don't look for translatable strings in *.m4 or *.mk


From: Jim Meyering
Subject: [PATCH] maint.mk: don't look for translatable strings in *.m4 or *.mk
Date: Tue, 07 Jul 2009 18:37:27 +0200

FYI, I needed this to avoid false positives, one from cfg.mk
and another from an .m4 file, both in libvirt.

>From b653eda3ac4864de205419d9f41eec267cb89eeb Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Tue, 7 Jul 2009 18:35:23 +0200
Subject: [PATCH] maint.mk: don't look for translatable strings in *.m4 or *.mk

* top/maint.mk (sc_po_check): Skip *.m4 and *.mk files,
when searching for translatable strings.
---
 ChangeLog    |    6 ++++++
 top/maint.mk |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1ada00b..9bc330d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-07-07  Jim Meyering  <address@hidden>
+
+       maint.mk: don't look for translatable strings in *.m4 or *.mk
+       * top/maint.mk (sc_po_check): Skip *.m4 and *.mk files,
+       when searching for translatable strings.
+
 2009-07-05  Jim Meyering  <address@hidden>

        remove superfluous parentheses in STREQ definition
diff --git a/top/maint.mk b/top/maint.mk
index ef828d1..073058d 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -540,6 +540,7 @@ sc_po_check:
          for file in $$($(VC_LIST_EXCEPT)) lib/*.[ch]; do              \
            test -r $$file || continue;                                 \
            case $$file in                                              \
+             *.m4|*.mk) continue ;;                                    \
              *.?|*.??) ;;                                              \
              *) continue;;                                             \
            esac;                                                       \
--
1.6.3.3.524.g8586b




reply via email to

[Prev in Thread] Current Thread [Next in Thread]