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

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

Re: Useless references to the source in POT/PO.


From: Kaloian Doganov
Subject: Re: Useless references to the source in POT/PO.
Date: Sat, 15 Mar 2008 08:50:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gNewSense gnu/linux)

Yavor Doganov <address@hidden> writes:

    All you need is PO; PO is all you need :-)

Thanks for your explanations. :-)

    Anyway, let's do nothing and leave the item as it is (since it is a
    bug in my book);

I couldn't resist making up a patch:

--- server/gnun/GNUmakefile     14 Mar 2008 21:35:39 -0000      1.20
+++ server/gnun/GNUmakefile     15 Mar 2008 06:48:57 -0000
@@ -126,6 +126,7 @@
 @echo Generating POT...
 $(PO4A-GETTEXTIZE) $(PO4A_XHTMLFLAGS) $(PO4A-GETTEXTIZEFLAGS) \
   --master $< --po address@hidden
+$(SED) --in-place '/^#: [.][.]\/[.][.]\/.*:[0-9]\+$$/d' address@hidden
 if ([ ! -f $@ ] || [ "`diff -U 0 $@ address@hidden | grep -v 
"^\(---\|+++\|@@\)" \
      | grep -v '^[-+]\"POT-Creation-Date:' | wc -c`" -ne 0 ]); then \
   mv address@hidden $@ ; \




reply via email to

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