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 GNUmakefile


From: Pavel Kharitonov
Subject: trans-coord/gnun/server/gnun ChangeLog GNUmakefile
Date: Sun, 18 Sep 2011 08:06:56 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Pavel Kharitonov <ineiev>       11/09/18 08:06:56

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile 

Log message:
        * GNUmakefile (generate-translinks, update-translinks-file)
        (article-pot-rules): name new translinks files differently
        to enable smoother transition.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.201&r2=1.202
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.92&r2=1.93

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -b -r1.201 -r1.202
--- ChangeLog   17 Sep 2011 07:08:37 -0000      1.201
+++ ChangeLog   18 Sep 2011 08:06:56 -0000      1.202
@@ -1,3 +1,9 @@
+2011-09-18  Pavel Kharitonov  <address@hidden>
+
+       * GNUmakefile (generate-translinks, update-translinks-file)
+       (article-pot-rules): name new translinks files differently
+       to enable smoother transition.
+
 2011-09-17  Pavel Kharitonov  <address@hidden>
        
        * GNUmakefile (update-po-status): fix dependency

Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -b -r1.92 -r1.93
--- GNUmakefile 17 Sep 2011 07:08:39 -0000      1.92
+++ GNUmakefile 18 Sep 2011 08:06:56 -0000      1.93
@@ -166,7 +166,7 @@
 
 # Compile translations list
 define generate-translinks
-file=$(1).translinks; cp translinks-head.html $$$${file}; \
+file=$(1).translist; cp translinks-head.html $$$${file}; \
 $(GREP) -v "^#" languages.txt \
   | while read language; do \
       code=$$$${language%%     *}; \
@@ -185,11 +185,11 @@
         echo $$$${name}'</a>&nbsp;['$$$${code}']</li>' >> $$$${file}; \
       fi; \
     done; \
-cat translinks-tail.html >> $$$${file}; $(call add-file,$(1).translinks)
+cat translinks-tail.html >> $$$${file}; $(call add-file,$(1).translist)
 endef
 
 # Replace SSI directives to include initial translations list with
-# directives to include the generated translinks file.
+# directives to include the generated translist file.
 define update-translinks-include
 if $(GREP) \
        '<!--#include virtual="/server/gnun/initial-translations-list\.html" ' \
@@ -197,7 +197,7 @@
   $(SED) --in-place \
     '/^<!--#set var="article_name"/d;\
      s/<!--#include virtual="\/server\/gnun\/initial-translations-list\.html/\
-     <!--#include virtual="$(subst /,\/,$(subst 
$(rootdir),,$(1))).translinks/' \
+     <!--#include virtual="$(subst /,\/,$(subst $(rootdir),,$(1))).translist/' 
\
     $(subst /po/,/,$(1).html); \
 fi
 endef
@@ -635,7 +635,7 @@
 
 ### Rules for all other articles ###
 define article-pot-rules
-# Note: .translinks files are regenerated every time with new script
+# Note: .translinks files are regenerated
 # until the next revision of $(MAKE-PROTOTYPE) which won't deal with them.
 $(1).proto: $(subst /po/,/,$(1).html)
 # Skip the validation step if the article is in `no-validate-articles'.
@@ -646,8 +646,8 @@
        $(call update-translinks-include,$(1)) 
        $$(mail-error-proto) $(MAKE-PROTOTYPE) --input=$$< \
          --generic=generic.html --output=$(1).proto \
-         --translinks=$(1).proto-translinks \
-           || ($(RM) $(1).proto $(1).proto-translinks ; exit 1)
+         --translinks=$(1).translinks \
+           || ($(RM) $(1).proto $(1).translinks ; exit 1)
        $(SED) --in-place "s/\$$$$Date.*\$$$$/<gnun>\0<\/gnun>/g" $(1).proto
 
 $(1).translinks: $(1).proto



reply via email to

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