diff Makefile.in @ 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 702b483d4de7
children 2cda842f35f6
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."; \