]> git.eshelyaron.com Git - emacs.git/commitdiff
(maybe_bootstrap): Fix shell variable usage. Handle separate-build-dir case.
authorMiles Bader <miles@gnu.org>
Thu, 7 Nov 2002 01:02:44 +0000 (01:02 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 7 Nov 2002 01:02:44 +0000 (01:02 +0000)
ChangeLog
Makefile.in

index 4c9c7ae5deb4627d4d04bd77c6008016fa08c3bd..ba3198bbe66e94d69292ba7cadfca2818f7a3dc1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-07  Miles Bader  <miles@gnu.org>
+
+       * Makefile.in (maybe_bootstrap): Fix shell variable usage.  Handle
+       separate-build-dir case.
+
 2002-11-06  Richard M. Stallman  <rms@gnu.org>
 
        * Makefile.in (maybe_bootstrap): Add doublequotes to make it
index 7640d911129a11ca8be6412c2cc9558bd68e04cb..87f1ea6112edd75408f9861016d45cdeff7b12a5 100644 (file)
@@ -715,8 +715,8 @@ dvi:
 .PHONY: maybe_bootstrap
 
 maybe_bootstrap:
-       @bar="`echo ./lisp/*.elc`"; \
-       if [ \( "$(bar)" = './lisp/*.elc' \) -o \( "$(bar)" = '' \) ]; then \
+       @bar="`echo $(srcdir)/lisp/*.elc`"; \
+       if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$bar" = '' \) ]; then \
          echo "Your tree does not include the compiled Lisp files."; \
          echo "You need to do \`make bootstrap' to build Emacs."; \
          echo "Emacs now requires Texinfo version 4.2."; \