]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (install-po): Cope with empty CATALOGS.
authorChris Demetriou <cgd@broadcom.com>
Tue, 8 Jul 2003 17:47:16 +0000 (17:47 +0000)
committerChris Demetriou <cgd@gcc.gnu.org>
Tue, 8 Jul 2003 17:47:16 +0000 (10:47 -0700)
2003-07-08  Chris Demetriou  <cgd@broadcom.com>

        * Makefile.in (install-po): Cope with empty CATALOGS.

From-SVN: r69091

gcc/ChangeLog
gcc/Makefile.in

index 92dfa84ff4494bc9eae82a06c96fd7c49296913c..97d5e9d4ec69c36f46eaf3f1d836042d048710c4 100644 (file)
@@ -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.
index c082ea9a67f64c267d4c131f81a9d8da0de38bb5..ccb22421b4dbb779c4d96069bc67bc1cc6b7ef31 100644 (file)
@@ -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; \