[Groonga-commit] groonga/groonga at f362060 [master] doc: remove POT-Creation-Date header from .edit

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 14 22:40:15 JST 2014


Kouhei Sutou	2014-08-14 22:40:15 +0900 (Thu, 14 Aug 2014)

  New Revision: f362060b1d328afe1ca870a470dfb448c14c7f6d
  https://github.com/groonga/groonga/commit/f362060b1d328afe1ca870a470dfb448c14c7f6d

  Message:
    doc: remove POT-Creation-Date header from .edit

  Modified files:
    build/makefiles/gettext.am

  Modified: build/makefiles/gettext.am (+15 -8)
===================================================================
--- build/makefiles/gettext.am    2014-08-14 22:28:00 +0900 (cc45dab)
+++ build/makefiles/gettext.am    2014-08-14 22:40:15 +0900 (a1ef1bf)
@@ -21,15 +21,22 @@ SUFFIXES += .pot .po .mo .edit
 .PHONY: gettext build
 
 .pot.edit:
-	if test -f $*.po; then						\
-	  msgmerge --quiet --sort-by-file --output-file=$@ $*.po $<;	\
-	else								\
-	  msginit							\
-	    --input=$<							\
-	    --output-file=$@						\
-	    --locale=$(LOCALE)						\
-	    --no-translator;						\
+	if test -f $*.po; then			\
+	  msgmerge				\
+	    --quiet				\
+	    --sort-by-file			\
+	    --output-file=$@.tmp		\
+	    $*.po				\
+	    $<;					\
+	else					\
+	  msginit				\
+	    --input=$<				\
+	    --output-file=$@.tmp		\
+	    --locale=$(LOCALE)			\
+	    --no-translator;			\
 	fi
+	GREP_OPTIONS= grep -v '^"POT-Creation-Date:' $@.tmp > $@
+	rm $@.tmp
 
 .edit.po:
 	msgcat --no-location --output $@ $<
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index