trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/server/gnun ChangeLog GNUmakef...


From: Yavor Doganov
Subject: trans-coord/gnun/server/gnun ChangeLog GNUmakef...
Date: Wed, 05 Mar 2008 22:30:15 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/03/05 22:30:15

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile gnun.texi 

Log message:
        * GNUmakefile (template_translated, home_translated)
        (ALL_POTS, articles_translated): Guard all $(info) make functions
        in a VERBOSE conditional, to be friendly with translators who do
        generally do not appreaciate the huge output.
        * gnun.texi (Runtime Variables): Document `VERBOSE'.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/gnun.texi?cvsroot=trans-coord&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- ChangeLog   5 Mar 2008 22:07:56 -0000       1.20
+++ ChangeLog   5 Mar 2008 22:30:14 -0000       1.21
@@ -1,5 +1,12 @@
 2008-03-06  Yavor Doganov  <address@hidden>
 
+       * GNUmakefile (template_translated, home_translated)
+       (ALL_POTS, articles_translated): Guard all $(info) make functions
+       in a VERBOSE conditional, to be friendly with translators who do
+       generally do not appreaciate the huge output.
+
+       * gnun.texi (Runtime Variables): Document `VERBOSE'.
+
        * GNUmakefile (report): Demote the `error' function in the make
        conditionals to a `warning' as a quick workaround for the snafu
        introduced in the previous change.

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- GNUmakefile 5 Mar 2008 22:07:56 -0000       1.6
+++ GNUmakefile 5 Mar 2008 22:30:14 -0000       1.7
@@ -77,13 +77,17 @@
 template_translated_base := $(addprefix $(template_dir)/,$(template_files))
 template_lang = $(addsuffix .$(1).html,$(template_translated_base))
 template_translated := $(foreach t_lang,$(TEMPLATE_LINGUAS),$(call 
template_lang,$(t_lang)))
-$(info template_translated = $(template_translated)) # for debugging purposes
+ifeq ($(VERBOSE),yes)
+$(info template_translated = $(template_translated))
+endif
 ### End of variables declaration (templates) ###
 
 ### Special variables for the home pages ###
 home_lang = $(rootdir)/home.$(1).shtml
 home_translated := $(foreach h_lang,$(HOME_LINGUAS),$(call 
home_lang,$(h_lang)))
-$(info home_translated = $(home_translated)) # for debugging purposes
+ifeq ($(VERBOSE),yes)
+$(info home_translated = $(home_translated))
+endif
 ### End of variables declaration (homepages) ###
 
 ### Special variables for all other articles ###
@@ -99,8 +103,10 @@
 ALL_POS := $(foreach pot,$(ALL_POTS),$(call find_po,$(basename $(pot))))
 ALL_POS_BASE := $(ALL_POS:%.po=%)
 articles_translated := $(subst /po/,/,$(ALL_POS:%.po=%.html))
-$(info ALL_POTS = $(ALL_POTS))                         # for debugging purposes
-$(info articles_translated = $(articles_translated))   # for debugging purposes
+ifeq ($(VERBOSE),yes)
+$(info ALL_POTS = $(ALL_POTS))                         
+$(info articles_translated = $(articles_translated))
+endif
 ### End of variables declaration (all articles) ###
 
 .PHONY: all vcs-add-always

Index: gnun.texi
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/gnun.texi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- gnun.texi   5 Mar 2008 18:52:28 -0000       1.9
+++ gnun.texi   5 Mar 2008 22:30:15 -0000       1.10
@@ -4,7 +4,7 @@
 @settitle GNUnited Nations Manual
 @c FIXME: Would be nice to have it in the format `%:b %:d, %:y', but
 @c in English.
address@hidden lastupdate 05.03.2008
address@hidden lastupdate 06.03.2008
 @afourpaper
 @c %**end of header
 
@@ -486,6 +486,13 @@
 recipients; normally they should be set to the @acronym{GNUN}
 maintainers, webmasters and translators accordingly.
 
address@hidden VERBOSE=yes
+If defined, the value of the variables @code{templates_translated},
address@hidden, @code{ALL_POTS} and @code{articles_translated}
+will be printed to the standard output.  This is off by default, but
+recommended in general since it will show a bug in the computation of
+the basic variables.
+
 @item address@hidden
 The translation team which articles need to be checked for
 completeness.  This variable is applicable only for the @code{report}




reply via email to

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