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

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

trans-coord/gnun/server/gnun GNUmakefile ChangeLog


From: Pavel Kharitonov
Subject: trans-coord/gnun/server/gnun GNUmakefile ChangeLog
Date: Thu, 15 Sep 2011 16:54:56 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Pavel Kharitonov <ineiev>       11/09/15 16:54:56

Modified files:
        gnun/server/gnun: GNUmakefile ChangeLog 

Log message:
        (insert-outdated-date): insert `Outdated-Since' field
        after `Content-Transfer-Encoding' rather than
        right after `POT-Creation-Date'.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.88&r2=1.89
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.198&r2=1.199

Patches:
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- GNUmakefile 8 Sep 2011 16:31:50 -0000       1.88
+++ GNUmakefile 15 Sep 2011 16:54:55 -0000      1.89
@@ -223,10 +223,16 @@
 
 # Copy POT generation date to `Outdated-Since' field
 # unless the latter is already present.
+# Insert the field after `Content-Transfer-Encoding'
+# whither msgmerge would move it.
 define insert-outdated-date
 ($(call extract-outdated-date,$(1)) > /dev/null \
  || $(SED) --in-place \
-      '/^"POT-Creation-Date:/{p;s/^"POT-Creation-Date:/"Outdated-Since:/}' 
$(1))
+      '1,/^"POT-Creation-Date:/{\
+           p;s/^"POT-Creation-Date:/"Outdated-Since:/;h;d};\
+       1,/^"Content-Transfer-Encoding:/{\
+         s/^\("Content-Transfer-Encoding: \)/\1/;p;t insert;d;\
+         :insert x}' $(1))
 endef
 
 # Remove `Outdated-Since' field from the header.

Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -b -r1.198 -r1.199
--- ChangeLog   8 Sep 2011 16:31:50 -0000       1.198
+++ ChangeLog   15 Sep 2011 16:54:56 -0000      1.199
@@ -1,3 +1,9 @@
+2011-09-15  Pavel Kharitonov  <address@hidden>
+
+       * GNUmakefile (insert-outdated-date): insert `Outdated-Since'
+       field after `Content-Transfer-Encoding' rather than right
+       after `POT-Creation-Date'.
+
 2011-09-08  Pavel Kharitonov  <address@hidden>
        
        * GNUmakefile (mark-outdated): Out-of-date notice



reply via email to

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