changeset 48189:f53a6c75be8a

(maybe_bootstrap): Fix shell variable usage. Handle separate-build-dir case.
author Miles Bader <miles@gnu.org>
date Thu, 07 Nov 2002 01:02:35 +0000
parents d268bc13e50f
children 612f4d75ba46
files Makefile.in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Thu Nov 07 00:26:27 2002 +0000
+++ b/Makefile.in	Thu Nov 07 01:02:35 2002 +0000
@@ -715,8 +715,8 @@
 .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."; \