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: Yavor Doganov
Subject: trans-coord/gnun/server/gnun ChangeLog GNUmakefile
Date: Fri, 01 Aug 2008 05:26:32 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/08/01 05:26:32

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile 

Log message:
        ($(subst /po/,/,$(1).html)): Use POT-Creation-Date
        as regexp in the gawk oneliner.  Remove unnecessary evaluation of
        the field number; the double escaping of the variable already does
        the right job.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.95&r2=1.96
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.53&r2=1.54

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -b -r1.95 -r1.96
--- ChangeLog   31 Jul 2008 16:00:25 -0000      1.95
+++ ChangeLog   1 Aug 2008 05:26:32 -0000       1.96
@@ -1,3 +1,10 @@
+2008-08-01  Yavor Doganov  <address@hidden>
+
+       * GNUmakefile ($(subst /po/,/,$(1).html)): Use POT-Creation-Date
+       as regexp in the gawk oneliner.  Remove unnecessary evaluation of
+       the field number; the double escaping of the variable already does
+       the right job.
+
 2008-07-31  Yavor Doganov  <address@hidden>
 
        Implement deferred generation of ordinary articles when there are

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- GNUmakefile 31 Jul 2008 16:00:26 -0000      1.53
+++ GNUmakefile 1 Aug 2008 05:26:32 -0000       1.54
@@ -519,15 +519,15 @@
            $(findstring $(basename $(1)),$(no-grace-articles)))
 # If there are no fuzzy strings, there might be untranslated or
 # obsolete, so proceed as usual.  If there are fuzzy strings, compare
-# the PO-Revision-Date in the PO with the current value of the grace
+# the POT-Creation-Date in the PO with the current value of the grace
 # period and invoke regeneration only if the grace period is over.
        grep --quiet "^#, fuzzy" $(1).po \
          || ($(M4) $(1).m4 > $$@ ; $(validate-article))
        if [ "`date --date="$(GRACE) days ago" +%Y%m%d`" -ge \
-            "`$(AWK) '/PO-Revision-Date/ {gsub(/-/, ""); print $$$$(2+0)}' \
+            "`$(AWK) '/POT-Creation-Date/ { gsub(/-/, ""); print $$$$2 }' \
               $(1).po`" ] ; \
          then \
-           $(M4) $(1).m4 > $$@ ; $(validate-article) ; \
+           $(M4) $(1).m4 > $$@ && $(validate-article) ; \
          else \
            sleep 1 ; touch $(1).po ; \
        fi




reply via email to

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