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: Tue, 03 Jun 2008 23:16:12 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/06/03 23:16:12

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile README 

Log message:
        * README: Bump the requirement of m4 to 1.4.8 because of a bug in
        in the format builtin.
        * GNUmakefile ($(subst /po/,/,$(1).html)): Exit with an error if
        the language is not defined in TEMPLATE_LINGUAS.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.79&r2=1.80
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/README?cvsroot=trans-coord&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- ChangeLog   1 Jun 2008 15:48:30 -0000       1.79
+++ ChangeLog   3 Jun 2008 23:16:11 -0000       1.80
@@ -1,3 +1,11 @@
+2008-06-04  Yavor Doganov  <address@hidden>
+
+       * README: Bump the requirement of m4 to 1.4.8 because of a bug in
+       in the format builtin.
+
+       * GNUmakefile ($(subst /po/,/,$(1).html)): Exit with an error if
+       the language is not defined in TEMPLATE_LINGUAS.
+
 2008-06-01  Yavor Doganov  <address@hidden>
 
        * gnun.texi (Usage, Invoking GNUN, Runtime Variables, report)

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- GNUmakefile 1 Jun 2008 11:30:45 -0000       1.40
+++ GNUmakefile 3 Jun 2008 23:16:12 -0000       1.41
@@ -428,6 +428,21 @@
 
 $(subst /po/,/,$(1).html): $(basename $(1)).proto $(basename $(1)).translinks \
                           $(1).po generic.$(2).html
+# If the server templates are missing, assume the worst and exit with
+# an error to prevent the generation of broken translations -- even if
+# validation is not enforced there will be Apache error.  The case
+# when the templates are present but not built by GNUN is valid in
+# practice, but not recommended.
+ifeq (,$(findstring $(2),$(TEMPLATE_LINGUAS)))
+ifndef NOTIFYSKIP
+       echo 'The "$(2)" language code is not defined in TEMPLATE_LINGUAS.' \
+         | mail $(transl-addr) -s \
+         "[GNUN Error] Could not build $$(subst $$(rootdir)/,,$$@)"  
+else
+       @echo 'The "$(2)" language code is not defined in TEMPLATE_LINGUAS.'
+endif
+       exit 1
+endif
        $$(addfile)
        PO=$(1).po ; $(check-po) || (touch $$$$PO ; exit 1)
        PO=$(1).po OUT=$(1).m4 ; $(generate-html)

Index: README
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- README      15 Mar 2008 14:30:28 -0000      1.3
+++ README      3 Jun 2008 23:16:12 -0000       1.4
@@ -3,7 +3,7 @@
 GNU Make >= 3.81 (prereleases of 3.81 also work)
 GNU Sed
 GNU Gettext (>= 0.14)
-GNU M4 (>= 1.4)
+GNU M4 (>= 1.4.8)
 GNU Guile (>= 1.6)
 Po4a 0.33
 Libxml2 (>= 2.6.24, needed for XHTML validation only)




reply via email to

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