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

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

#include directives propagate in the POT.


From: Kaloian Doganov
Subject: #include directives propagate in the POT.
Date: Thu, 21 Aug 2008 13:14:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gNewSense gnu/linux)

   This is fixed in Po4a 0.33.3 but there is another regression in
   this release: one or two blank lines are added before the first
   #include directive.

Why those blank lines are considered a problem?  This looks like a
cosmetic issue, not a stopper.  The output LANG.html files are validated
successfully when we drop the escaping of <!--#include --> directives:


--- server/gnun/GNUmakefile     21 Aug 2008 09:15:17 -0000      1.57
+++ server/gnun/GNUmakefile     21 Aug 2008 10:12:45 -0000
@@ -291,9 +291,6 @@
          --output=$@ \
          || ($(RM) $@ $(basename $@).translinks ; exit 1)
        $(SED) --in-place "s/\$$Date.*\$$/<gnun>\0<\/gnun>/g" $@
-# Temporary escape of <!--#include --> directives, in order to
-# workaround a bug introduced in Po4a 0.33.
-       $(SED) --in-place 's/<!--\#include .*-->/<gnun>\0<\/gnun>/g' $@
 
 # This target is present because the whatsnew.%.html target depends on
 # it so when make is run for the first time and whatsnew.translinks is
@@ -401,9 +398,6 @@
        $(mail-error-proto) ./make-prototype --home --input=$< \
          --generic=generic.html --output=$@ || ($(RM) $@ ; exit 1)
        $(SED) --in-place "s/\$$Date.*\$$/<gnun>\0<\/gnun>/g" $@
-# Temporary escape of <!--#include --> directives, in order to
-# workaround a bug introduced in Po4a 0.33.
-       $(SED) --in-place 's/<!--\#include .*-->/<gnun>\0<\/gnun>/g' $@
 
 $(rootdir)/po/home.pot: $(rootdir)/po/home.proto
        $(addfile)
@@ -459,9 +453,6 @@
          --translinks=$(1).translinks \
            || ($(RM) $(1).proto $(1).translinks ; exit 1)
        $(SED) --in-place "s/\$$$$Date.*\$$$$/<gnun>\0<\/gnun>/g" $(1).proto
-# Temporary escape of <!--#include --> directives, in order to
-# workaround a bug introduced in Po4a 0.33.
-       $(SED) --in-place 's/<!--\#include .*-->/<gnun>\0<\/gnun>/g' $(1).proto
 
 $(1).pot: $(1).proto
        $$(addfile)




reply via email to

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