po: Add Greek translation and update Catalan and Spanish translations.
[pspp] / po / automake.mk
index 2936a9a83f78bdbdfcdcf69ee82d0894be982bc9..98f9685313533c8a317c4f80ebcd755476378387 100644 (file)
@@ -8,10 +8,12 @@ POFILES = \
        po/ca.po \
        po/cs.po \
        po/de.po \
+       po/el.po \
        po/en_GB.po \
        po/es.po \
        po/fr.po \
        po/gl.po \
+       po/hu.po \
        po/ja.po \
        po/lt.po \
        po/nl.po \
@@ -48,7 +50,9 @@ $(POFILES): $(POTFILE)
                 touch $@,tmp ; \
                 msgcat --use-first $(top_srcdir)/$@,aux $@,tmp -o $@,tmp; \
        fi ;
-       $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@
+       $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@,tmp2
+       $(RM) $@,tmp
+       mv $@,tmp2 $@
 
 SUFFIXES += .po .gmo
 .po.gmo: