]> gcc.gnu.org Git - gcc.git/commitdiff
Makefile.in (s-gencheck, [...]): Handle an empty list correctly.
authorZack Weinberg <zack@codesourcery.com>
Thu, 10 Jan 2002 04:25:56 +0000 (04:25 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 10 Jan 2002 04:25:56 +0000 (04:25 +0000)
* Makefile.in (s-gencheck, s-options, s-specs): Handle an
empty list correctly.  Change loop index $t to $f for
consistency with rest of Makefile.

From-SVN: r48711

gcc/ChangeLog
gcc/Makefile.in

index 98d57fa2adb2ca6815246501df24e8b1125214a1..e7296c5547f8c9e09b76390737456208b36719a3 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-09  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in (s-gencheck, s-options, s-specs): Handle an
+       empty list correctly.  Change loop index $t to $f for
+       consistency with rest of Makefile.
+
 2002-01-08  Aldy Hernandez  <aldyh@redhat.com>
 
        * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
index 97dda02cdc48fc5a6d4663eb4d1ebb798162bc61..da541490eba1cd73b61c5ad2dae13c63dc99b2c6 100644 (file)
@@ -1266,24 +1266,24 @@ gencheck.o : gencheck.c gencheck.h tree.def $(HCONFIG_H) $(SYSTEM_H) \
 
 gencheck.h : s-gencheck ; @true
 s-gencheck : Makefile
-       for t in $(lang_tree_files); do \
-           echo "#include \"$$t\""; \
+       ltf="$(lang_tree_files)"; for f in $$ltf; do \
+           echo "#include \"$$f\""; \
        done | sed 's|$(srcdir)/||' > tmp-gencheck.h
        $(SHELL) $(srcdir)/move-if-change tmp-gencheck.h gencheck.h
        $(STAMP) s-gencheck
 
 options.h : s-options ; @true
 s-options : Makefile
-       for t in $(lang_options_files); do \
-           echo "#include \"$$t\""; \
+       lof="$(lang_options_files)"; for f in $$lof; do \
+           echo "#include \"$$f\""; \
        done | sed 's|$(srcdir)/||' > tmp-options.h
        $(SHELL) $(srcdir)/move-if-change tmp-options.h options.h
        $(STAMP) s-options
 
 specs.h : s-specs ; @true
 s-specs : Makefile
-       for t in $(lang_specs_files); do \
-           echo "#include \"$$t\""; \
+       lsf="$(lang_specs_files)"; for f in $$lsf; do \
+           echo "#include \"$$f\""; \
        done | sed 's|$(srcdir)/||' > tmp-specs.h
        $(SHELL) $(srcdir)/move-if-change tmp-specs.h specs.h
        $(STAMP) s-specs
This page took 0.064774 seconds and 5 git commands to generate.