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

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

Re: whatsnew woes


From: Yavor Doganov
Subject: Re: whatsnew woes
Date: Fri, 07 Mar 2008 15:00:41 +0200

On чт, 2008-03-06 at 11:48 +0200, Yavor Doganov wrote:
> whatsnew.LANG.html will be built by GNUN, but we'll add special
> conditionals for the #include whatsnew.LANG.include directives.

Here is a patch that does this.
(AFAIK sed expressions cannot be split into two lines?)
--- GNUmakefile 07 мар 2008 14:32:44 +0200      1.8
+++ GNUmakefile 07 мар 2008 14:54:33 +0200      
@@ -280,6 +280,17 @@
        for replaceable in $(replaceable_includes); do \
                $(SED) --in-place "s/\(<!--#include 
virtual=\".*$$$$replaceable\)\(.html\" -->\)/\1.$(2)\2/g" $(1).m4; \
        done;
+ifeq ($(1), $(rootdir)/server/po/whatsnew.$(2))
+ifeq ($(2), pl)
+       $(SED) --in-place \
+         "s/\(<!--#include virtual=\".*whatsnew*\)\(.include\" 
-->\)/\1.polish\2/g" \
+         $(1).m4
+else
+       $(SED) --in-place \
+         "s/\(<!--#include virtual=\".*whatsnew*\)\(.include\" 
-->\)/\1.$(2)\2/g" \
+         $(1).m4
+endif
+endif
        $(M4) $(1).m4 > $$@
        $(VALIDATESKIP) $(VALIDATE-HTML-NOTIFY) $(NOTIFYSKIP) $(transl_addr) \
          $$@ || (sleep 1 ; touch $(1).po ; exit 1)

reply via email to

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