[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Code display woe
From: |
Yavor Doganov |
Subject: |
Code display woe |
Date: |
Fri, 08 Feb 2008 18:22:06 +0200 |
User-agent: |
Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.1 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Is this patch safe? The last TODO item is very annoying to me. There
is still room for improvement, though.
(Apart from the indentation, which I'm not sure is correct, the only
change is prepending \ before "POT-Creation-Date:)
--- GNUmakefile 08 фев 2008 17:16:46 +0200 1.35
+++ GNUmakefile 08 фев 2008 18:20:16 +0200
@@ -106,8 +106,12 @@
# POT-Creation-Date), in which case the changes are ignored.
define generate-pot
@echo Generating POT...
-$(PO4A-GETTEXTIZE) $(PO4A_XHTMLFLAGS) $(PO4A-GETTEXTIZEFLAGS) --master $< --po
address@hidden
-if ([ ! -f $@ ] || [ "`diff -U 0 $@ address@hidden | grep -v
"^\(---\|+++\|@@\)" | grep -v '^[-+]"POT-Creation-Date:' | wc -c`" -ne 0 ]);
then mv address@hidden $@ ; fi;
+$(PO4A-GETTEXTIZE) $(PO4A_XHTMLFLAGS) $(PO4A-GETTEXTIZEFLAGS) \
+ --master $< --po address@hidden
+if ([ ! -f $@ ] || [ "`diff -U 0 $@ address@hidden | grep -v
"^\(---\|+++\|@@\)" \
+ | grep -v '^[-+]\"POT-Creation-Date:' | wc -c`" -ne 0 ]); then \
+ mv address@hidden $@ ; \
+fi;
touch $@
$(RM) address@hidden
endef
- Code display woe,
Yavor Doganov <=
- Re: Code display woe, Kaloian Doganov, 2008/02/08
- Re: Code display woe, Yavor Doganov, 2008/02/08
- Re: Code display woe, Kaloian Doganov, 2008/02/08
- Re: Code display woe, Yavor Doganov, 2008/02/08
- Re: Code display woe, Kaloian Doganov, 2008/02/08
- Re: Code display woe, Yavor Doganov, 2008/02/08
- Re: Code display woe, Kaloian Doganov, 2008/02/08