bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] gperf: respect silent rules


From: Daiki Ueno
Subject: [PATCH] gperf: respect silent rules
Date: Mon, 10 Aug 2015 17:22:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

* modules/gperf (Makefile.am): Define V_GPERF, V_GPERF_, and
V_GPERF_0 for silent rules.
* modules/iconv_open (Makefile.am): Use V_GPERF.
* modules/unicase/locale-language (Makefile.am): Likewise.
* modules/unicase/special-casing (Makefile.am): Likewise.
* modules/unictype/category-byname (Makefile.am): Likewise.
* modules/unictype/combining-class-byname (Makefile.am): Likewise.
* modules/unictype/joininggroup-byname (Makefile.am): Likewise.
* modules/unictype/joiningtype-byname (Makefile.am): Likewise.
* modules/unictype/property-byname (Makefile.am): Likewise.
* modules/unictype/scripts (Makefile.am): Likewise.
* modules/uninorm/composition (Makefile.am): Likewise.
---
 ChangeLog                               | 16 ++++++++++++++++
 modules/gperf                           |  3 +++
 modules/iconv_open                      | 10 +++++-----
 modules/unicase/locale-language         |  2 +-
 modules/unicase/special-casing          |  2 +-
 modules/unictype/bidiclass-byname       |  2 +-
 modules/unictype/category-byname        |  2 +-
 modules/unictype/combining-class-byname |  2 +-
 modules/unictype/joininggroup-byname    |  2 +-
 modules/unictype/joiningtype-byname     |  2 +-
 modules/unictype/property-byname        |  2 +-
 modules/unictype/scripts                |  2 +-
 modules/uninorm/composition             |  2 +-
 13 files changed, 34 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5e82830..b084818 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2015-08-10  Daiki Ueno  <address@hidden>
+
+       gperf: respect silent rules
+       * modules/gperf (Makefile.am): Define V_GPERF, V_GPERF_, and
+       V_GPERF_0 for silent rules.
+       * modules/iconv_open (Makefile.am): Use V_GPERF.
+       * modules/unicase/locale-language (Makefile.am): Likewise.
+       * modules/unicase/special-casing (Makefile.am): Likewise.
+       * modules/unictype/category-byname (Makefile.am): Likewise.
+       * modules/unictype/combining-class-byname (Makefile.am): Likewise.
+       * modules/unictype/joininggroup-byname (Makefile.am): Likewise.
+       * modules/unictype/joiningtype-byname (Makefile.am): Likewise.
+       * modules/unictype/property-byname (Makefile.am): Likewise.
+       * modules/unictype/scripts (Makefile.am): Likewise.
+       * modules/uninorm/composition (Makefile.am): Likewise.
+
 2015-04-29  Paul Eggert  <address@hidden>
 
        extern-inline: no need for workaround in GCC 5.1
diff --git a/modules/gperf b/modules/gperf
index 6c901db..1b5a40f 100644
--- a/modules/gperf
+++ b/modules/gperf
@@ -9,6 +9,9 @@ configure.ac:
 
 Makefile.am:
 GPERF = gperf
+V_GPERF = $(address@hidden@)
+V_GPERF_ = $(address@hidden@)
+V_GPERF_0 = @echo "  GPERF   " $@;
 
 Include:
 
diff --git a/modules/iconv_open b/modules/iconv_open
index 242b6e2..e49c650 100644
--- a/modules/iconv_open
+++ b/modules/iconv_open
@@ -34,19 +34,19 @@ fi
 
 Makefile.am:
 iconv_open-aix.h: iconv_open-aix.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > 
$(srcdir)/iconv_open-aix.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > 
$(srcdir)/iconv_open-aix.h-t && \
        mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
 iconv_open-hpux.h: iconv_open-hpux.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > 
$(srcdir)/iconv_open-hpux.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > 
$(srcdir)/iconv_open-hpux.h-t && \
        mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
 iconv_open-irix.h: iconv_open-irix.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > 
$(srcdir)/iconv_open-irix.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > 
$(srcdir)/iconv_open-irix.h-t && \
        mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
 iconv_open-osf.h: iconv_open-osf.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > 
$(srcdir)/iconv_open-osf.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > 
$(srcdir)/iconv_open-osf.h-t && \
        mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
 iconv_open-solaris.h: iconv_open-solaris.gperf
-       $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > 
$(srcdir)/iconv_open-solaris.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > 
$(srcdir)/iconv_open-solaris.h-t && \
        mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
 BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h 
iconv_open-osf.h iconv_open-solaris.h
 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t 
iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
diff --git a/modules/unicase/locale-language b/modules/unicase/locale-language
index 7b40a46..3c8aedd 100644
--- a/modules/unicase/locale-language
+++ b/modules/unicase/locale-language
@@ -19,7 +19,7 @@ lib_SOURCES += unicase/locale-language.c
 endif
 
 unicase/locale-languages.h: $(srcdir)/unicase/locale-languages.gperf
-       $(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > 
$(srcdir)/unicase/locale-languages.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unicase/locale-languages.gperf > 
$(srcdir)/unicase/locale-languages.h-t && \
        mv $(srcdir)/unicase/locale-languages.h-t 
$(srcdir)/unicase/locale-languages.h
 BUILT_SOURCES        += unicase/locale-languages.h
 MOSTLYCLEANFILES     += unicase/locale-languages.h-t
diff --git a/modules/unicase/special-casing b/modules/unicase/special-casing
index 2f6bae6..b4bf5b7 100644
--- a/modules/unicase/special-casing
+++ b/modules/unicase/special-casing
@@ -15,7 +15,7 @@ Makefile.am:
 lib_SOURCES += unicase/special-casing.c
 
 unicase/special-casing-table.h: $(srcdir)/unicase/special-casing-table.gperf
-       $(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > 
$(srcdir)/unicase/special-casing-table.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unicase/special-casing-table.gperf > 
$(srcdir)/unicase/special-casing-table.h-t && \
        mv $(srcdir)/unicase/special-casing-table.h-t 
$(srcdir)/unicase/special-casing-table.h
 BUILT_SOURCES        += unicase/special-casing-table.h
 MOSTLYCLEANFILES     += unicase/special-casing-table.h-t
diff --git a/modules/unictype/bidiclass-byname 
b/modules/unictype/bidiclass-byname
index 2ebc71b..dfb95a8 100644
--- a/modules/unictype/bidiclass-byname
+++ b/modules/unictype/bidiclass-byname
@@ -18,7 +18,7 @@ lib_SOURCES += unictype/bidi_byname.c
 endif
 
 unictype/bidi_byname.h: unictype/bidi_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > 
$(srcdir)/unictype/bidi_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/bidi_byname.gperf > 
$(srcdir)/unictype/bidi_byname.h-t && \
        mv $(srcdir)/unictype/bidi_byname.h-t $(srcdir)/unictype/bidi_byname.h
 BUILT_SOURCES        += unictype/bidi_byname.h
 MOSTLYCLEANFILES     += unictype/bidi_byname.h-t
diff --git a/modules/unictype/category-byname b/modules/unictype/category-byname
index 514ba89..a9e2d11 100644
--- a/modules/unictype/category-byname
+++ b/modules/unictype/category-byname
@@ -57,7 +57,7 @@ lib_SOURCES += unictype/categ_byname.c
 endif
 
 unictype/categ_byname.h: unictype/categ_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/categ_byname.gperf > 
$(srcdir)/unictype/categ_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/categ_byname.gperf > 
$(srcdir)/unictype/categ_byname.h-t && \
        mv $(srcdir)/unictype/categ_byname.h-t $(srcdir)/unictype/categ_byname.h
 BUILT_SOURCES        += unictype/categ_byname.h
 MOSTLYCLEANFILES     += unictype/categ_byname.h-t
diff --git a/modules/unictype/combining-class-byname 
b/modules/unictype/combining-class-byname
index 33ecc27..f3b3d19 100644
--- a/modules/unictype/combining-class-byname
+++ b/modules/unictype/combining-class-byname
@@ -18,7 +18,7 @@ lib_SOURCES += unictype/combiningclass_byname.c
 endif
 
 unictype/combiningclass_byname.h: unictype/combiningclass_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf > 
$(srcdir)/unictype/combiningclass_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/combiningclass_byname.gperf 
> $(srcdir)/unictype/combiningclass_byname.h-t && \
        mv $(srcdir)/unictype/combiningclass_byname.h-t 
$(srcdir)/unictype/combiningclass_byname.h
 BUILT_SOURCES        += unictype/combiningclass_byname.h
 MOSTLYCLEANFILES     += unictype/combiningclass_byname.h-t
diff --git a/modules/unictype/joininggroup-byname 
b/modules/unictype/joininggroup-byname
index 8b470fb..caaf403 100644
--- a/modules/unictype/joininggroup-byname
+++ b/modules/unictype/joininggroup-byname
@@ -18,7 +18,7 @@ lib_SOURCES += unictype/joininggroup_byname.c
 endif
 
 unictype/joininggroup_byname.h: unictype/joininggroup_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/joininggroup_byname.gperf > 
$(srcdir)/unictype/joininggroup_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joininggroup_byname.gperf > 
$(srcdir)/unictype/joininggroup_byname.h-t && \
        mv $(srcdir)/unictype/joininggroup_byname.h-t 
$(srcdir)/unictype/joininggroup_byname.h
 BUILT_SOURCES        += unictype/joininggroup_byname.h
 MOSTLYCLEANFILES     += unictype/joininggroup_byname.h-t
diff --git a/modules/unictype/joiningtype-byname 
b/modules/unictype/joiningtype-byname
index 63ab121..fb7f174 100644
--- a/modules/unictype/joiningtype-byname
+++ b/modules/unictype/joiningtype-byname
@@ -18,7 +18,7 @@ lib_SOURCES += unictype/joiningtype_byname.c
 endif
 
 unictype/joiningtype_byname.h: unictype/joiningtype_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > 
$(srcdir)/unictype/joiningtype_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/joiningtype_byname.gperf > 
$(srcdir)/unictype/joiningtype_byname.h-t && \
        mv $(srcdir)/unictype/joiningtype_byname.h-t 
$(srcdir)/unictype/joiningtype_byname.h
 BUILT_SOURCES        += unictype/joiningtype_byname.h
 MOSTLYCLEANFILES     += unictype/joiningtype_byname.h-t
diff --git a/modules/unictype/property-byname b/modules/unictype/property-byname
index 16b7223..48d7cce 100644
--- a/modules/unictype/property-byname
+++ b/modules/unictype/property-byname
@@ -104,7 +104,7 @@ lib_SOURCES += unictype/pr_byname.c
 endif
 
 unictype/pr_byname.h: unictype/pr_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > 
$(srcdir)/unictype/pr_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/pr_byname.gperf > 
$(srcdir)/unictype/pr_byname.h-t && \
        mv $(srcdir)/unictype/pr_byname.h-t $(srcdir)/unictype/pr_byname.h
 BUILT_SOURCES        += unictype/pr_byname.h
 MOSTLYCLEANFILES     += unictype/pr_byname.h-t
diff --git a/modules/unictype/scripts b/modules/unictype/scripts
index a2424b0..70e4ae7 100644
--- a/modules/unictype/scripts
+++ b/modules/unictype/scripts
@@ -19,7 +19,7 @@ lib_SOURCES += unictype/scripts.c
 endif
 
 unictype/scripts_byname.h: unictype/scripts_byname.gperf
-       $(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > 
$(srcdir)/unictype/scripts_byname.h-t
+       $(V_GPERF)$(GPERF) -m 10 $(srcdir)/unictype/scripts_byname.gperf > 
$(srcdir)/unictype/scripts_byname.h-t && \
        mv $(srcdir)/unictype/scripts_byname.h-t 
$(srcdir)/unictype/scripts_byname.h
 BUILT_SOURCES        += unictype/scripts_byname.h
 MOSTLYCLEANFILES     += unictype/scripts_byname.h-t
diff --git a/modules/uninorm/composition b/modules/uninorm/composition
index 101eef9..a527b82 100644
--- a/modules/uninorm/composition
+++ b/modules/uninorm/composition
@@ -18,7 +18,7 @@ lib_SOURCES += uninorm/composition.c
 endif
 
 uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf
-       $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > 
$(srcdir)/uninorm/composition-table.h-t
+       $(V_GPERF)$(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > 
$(srcdir)/uninorm/composition-table.h-t && \
        mv $(srcdir)/uninorm/composition-table.h-t 
$(srcdir)/uninorm/composition-table.h
 BUILT_SOURCES        += uninorm/composition-table.h
 MOSTLYCLEANFILES     += uninorm/composition-table.h-t
-- 
2.4.3




reply via email to

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