From 937ba966ec93bc62c58a27293e817752d94a9fa8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 24 Oct 2015 05:30:54 -0700 Subject: autoupdate --- build-aux/po/Makefile.in.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build-aux/po') diff --git a/build-aux/po/Makefile.in.in b/build-aux/po/Makefile.in.in index c36f1ad26d..fa59cf1ed9 100644 --- a/build-aux/po/Makefile.in.in +++ b/build-aux/po/Makefile.in.in @@ -6,7 +6,7 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. # -# Origin: gettext-0.19.5 +# Origin: gettext-0.19.6 GETTEXT_MACRO_VERSION = 0.19 PACKAGE = @PACKAGE@ @@ -195,6 +195,11 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed ;; \ esac test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po; \ + rm -f $(DOMAIN).1po; \ + fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ -- cgit v1.2.1