about summary refs log tree commit diff stats
path: root/po/makefile.inn
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2014-12-22 01:39:40 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2014-12-22 01:39:40 -0500
commitd75d32cd2f1ca078ec90deb26e3f97c66ce65d06 (patch)
tree65de529114d099674edaedbf998228e802c35dc1 /po/makefile.inn
parente369b40ddce7cb880088e8ec9ef07bc57d5ee36c (diff)
downloadlynx-snapshots-d75d32cd2f1ca078ec90deb26e3f97c66ce65d06.tar.gz
snapshot of project "lynx", label v2-8-9dev_2
Diffstat (limited to 'po/makefile.inn')
-rw-r--r--po/makefile.inn11
1 files changed, 10 insertions, 1 deletions
diff --git a/po/makefile.inn b/po/makefile.inn
index dfb37b90..c4c7adf3 100644
--- a/po/makefile.inn
+++ b/po/makefile.inn
@@ -1,4 +1,4 @@
-# $LynxId: makefile.inn,v 1.19 2010/09/19 18:34:55 tom Exp $
+# $LynxId: makefile.inn,v 1.21 2014/12/22 00:09:52 tom Exp $
 #
 # Makefile for program source directory in GNU NLS utilities package.
 # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
@@ -97,6 +97,15 @@ all-no:
 
 en.po :	
 	msginit --no-translator -l en -i $(PACKAGE).pot
+	# cygwin's msginit 1.19.3 creates "en_US.po" rather than "en.po"...
+	@$(SHELL) -c 'for n in en*.po; \
+		do \
+		if test -f $$n; \
+		then \
+			test $$n != $@ && mv -vf $$n $@; \
+			break; \
+		fi \
+		done'
 
 $(srcdir)/$(PACKAGE).pot: $(POTFILES)
 	$(XGETTEXT) --default-domain=$(NLS_TEXTDOMAIN) --directory=$(top_srcdir) \