The makefile used to do ("`(cd $(srcdir) && echo $(PWD))`/scheme" to

determine the location of the scheme subdirectory.  (Which resides in
$(srcdir), but not generally in the build directory.)  This is bogus,
as $(PWD) is instantiated by make, not by the shell (to the build
directory), and thus will generate the build dir, not $(srcdir).

.. anyway, replace that by "`(cd $(srcdir) && echo $$PWD)`/scheme"
and things are fine.

(Patch by Mike Sperber)
This commit is contained in:
mainzelm 2003-06-27 09:03:41 +00:00
parent e193567988
commit a6aa3a65bc
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ $(IMAGE): $(VM) scheme/env/init-defpackage.scm scheme/more-interfaces.scm \
scheme/link-packages.scm scheme/more-packages.scm \
$(usual-files) build/initial.debug build/build-usual-image
$(srcdir)/build/build-usual-image $(srcdir) \
"`(cd $(srcdir) && echo $(PWD))`/scheme" '$(IMAGE)' './$(VM)' \
"`(cd $(srcdir) && echo $$PWD)`/scheme" '$(IMAGE)' './$(VM)' \
'$(INITIAL)'
### Fake targets: all clean install man dist