po: Delete temporary files to fix "make distcheck" error.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Sep 2020 23:13:56 +0000 (16:13 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 5 Sep 2020 23:13:56 +0000 (16:13 -0700)
po/automake.mk

index 1d25f1694800b78971b3ee7f92b32a337ca900f3..072efea3115ef5ea17529b72325786beee064336 100644 (file)
@@ -67,6 +67,7 @@ $(POTFILE): $(ALL_TRANSLATABLE_FILES) Makefile
        $(AM_V_at)$(XGETTEXT) $(XGETTEXT_OPTIONS) -j src/ui/gui/org.fsf.pspp.metainfo.xml.in -o $@,tmp
        $(AM_V_at)$(XGETTEXT) $(XGETTEXT_OPTIONS) -j src/ui/gui/org.fsf.pspp.desktop.in -o $@,tmp
        $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: .*/d' $@,tmp > $@
+       rm -f $@,tmp
 
 $(LOCALPOFILES) $(POFILES): $(POTFILE)
        $(AM_V_GEN)$(MSGMERGE) --previous --quiet $(top_srcdir)/$@ $? -o $@,tmp
@@ -76,7 +77,7 @@ $(LOCALPOFILES) $(POFILES): $(POTFILE)
        fi ;
        $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@,tmp2
        $(RM) $@,tmp
-       $(MSGFMT) -c $@,tmp2
+       $(MSGFMT) -c $@,tmp2 -o - > /dev/null
        mv $@,tmp2 $@
 
 SUFFIXES += .po .gmo