From: Miles Bader Date: Thu, 7 Nov 2002 01:02:44 +0000 (+0000) Subject: (maybe_bootstrap): Fix shell variable usage. Handle separate-build-dir case. X-Git-Tag: ttn-vms-21-2-B4~12566 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab4f69f273496ba5f7e1ac81a1e946991061e164;p=emacs.git (maybe_bootstrap): Fix shell variable usage. Handle separate-build-dir case. --- diff --git a/ChangeLog b/ChangeLog index 4c9c7ae5deb..ba3198bbe66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-07 Miles Bader + + * Makefile.in (maybe_bootstrap): Fix shell variable usage. Handle + separate-build-dir case. + 2002-11-06 Richard M. Stallman * Makefile.in (maybe_bootstrap): Add doublequotes to make it diff --git a/Makefile.in b/Makefile.in index 7640d911129..87f1ea6112e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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."; \