(maybe_bootstrap): Fix shell variable usage. Handle separate-build-dir case.

This commit is contained in:
Miles Bader 2002-11-07 01:02:44 +00:00
parent c3d79cee88
commit ab4f69f273
2 changed files with 7 additions and 2 deletions

View file

@ -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

View 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."; \