aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChris Demetriou <cgd@broadcom.com>2003-07-08 17:47:16 +0000
committerChris Demetriou <cgd@gcc.gnu.org>2003-07-08 10:47:16 -0700
commit318b7749addbaf5c7da1b48c0103fc52114276bc (patch)
tree5e412d4d460c911e70808e7b56101822a2ebf3a0 /gcc
parentb8898790358d9b98e4bf63ea2607c8dbd68bd382 (diff)
downloadgcc-318b7749addbaf5c7da1b48c0103fc52114276bc.zip
gcc-318b7749addbaf5c7da1b48c0103fc52114276bc.tar.gz
gcc-318b7749addbaf5c7da1b48c0103fc52114276bc.tar.bz2
Makefile.in (install-po): Cope with empty CATALOGS.
2003-07-08 Chris Demetriou <cgd@broadcom.com> * Makefile.in (install-po): Cope with empty CATALOGS. From-SVN: r69091
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/Makefile.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92dfa84..97d5e9d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-08 Chris Demetriou <cgd@broadcom.com>
+
+ * Makefile.in (install-po): Cope with empty CATALOGS.
+
2003-07-08 Richard Sandiford <rsandifo@redhat.com>
* config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index c082ea9..ccb2242 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; \