From: Chris Demetriou Date: Tue, 8 Jul 2003 17:47:16 +0000 (+0000) Subject: Makefile.in (install-po): Cope with empty CATALOGS. X-Git-Tag: releases/gcc-3.4.0~5044 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=318b7749addbaf5c7da1b48c0103fc52114276bc;p=thirdparty%2Fgcc.git Makefile.in (install-po): Cope with empty CATALOGS. 2003-07-08 Chris Demetriou * Makefile.in (install-po): Cope with empty CATALOGS. From-SVN: r69091 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 92dfa84ff449..97d5e9d4ec69 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-07-08 Chris Demetriou + + * Makefile.in (install-po): Cope with empty CATALOGS. + 2003-07-08 Richard Sandiford * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index c082ea9a67f6..ccb22421b4db 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3973,7 +3973,7 @@ update-po: $(CATALOGS:.gmo=.pox) # with the distribution. install-po: $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(datadir) - for cat in $(CATALOGS); do \ + cats="$(CATALOGS)"; for cat in $$cats; do \ lang=`basename $$cat | sed 's/\.gmo$$//'`; \ if [ -f $$cat ]; then :; \ elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \