]> sourceware.org Git - automake.git/commitdiff
silly bug fix
authorTom Tromey <tromey@redhat.com>
Tue, 21 Oct 1997 17:03:25 +0000 (17:03 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 21 Oct 1997 17:03:25 +0000 (17:03 +0000)
Makefile.in
aclocal.in

index f12c14caef1fd7e8d8cf8640837d02179dffcc83..dfc532f77d1f646b30612393f4b66e9ba9dc24c2 100644 (file)
@@ -324,7 +324,7 @@ all-recursive install-data-recursive install-exec-recursive \
 installdirs-recursive install-recursive uninstall-recursive  \
 check-recursive installcheck-recursive info-recursive dvi-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
-       for subdir in $(SUBDIRS); do \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
          (cd $$subdir && $(MAKE) $$target) \
@@ -334,7 +334,9 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
-       rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \
+       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+         rev="$$subdir $$rev"; \
+       done; \
        for subdir in $$rev; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
index e14a8a331f5dc913bb110c2eec9a2fdcec7364c2..3844825919b78307d1002d9fc9afce64c3a38b6b 100644 (file)
@@ -278,7 +278,7 @@ sub scan_m4_files
     {
        # EXPR is a regexp matching the name of the macro.
        ($expr = $key) =~ s/(\W)/\\$1/g;
-       $search .= ("if (/" . $expr "/) { & add_macro (" . $key
+       $search .= ("if (/" . $expr "/) { & add_macro (" . $key
                    . "); return 1; }\n");
     }
     $search .= "return 0;\n";
This page took 0.030089 seconds and 5 git commands to generate.