|
From: Gisle V. <gv...@br...> - 2003-08-18 03:11:23
|
It's me agins with another Mingw32-make v.380 problem.
(the depend problem of yesterday I fixed by splitting up into
several makefiles. No other way).
I'm having troubles forcing make to cd into a dir to exec
a perl script. I have a Common.MingW file which is included
from several Makefiles in sub-directories (the level varies):
SHELL = /bin/bash
BROOT = g:/MingW/src/inet/bind
$(BROOT)/versions.h: $(BROOT)/version
ch $(BROOT)/win32utils
perl ./makeversion.pl
The script *must* be run in this dir. I assume make is smart enough
to chdir back to it origin when the block is done. But make always
complains
cd g:/MingW/src/inet/bind/win32utils
/usr/bin/sh: cd: g:/MingW/src/inet/bind/win32utils: No such file or directory
What nonsense is this? I assume it's my installation of MSYS and it's
sh; GNU bash, version 2.04.0(1)-release. Here's my /MingW/msys/etc/fstab
if that matters:
g:/ /
g:/MingW/src /usr/src
g:/MingW/msys/bin /usr/bin
g:/MingW/msys/local /usr/local
--
Gisle V.
|