|
From: Greg C. <chi...@mi...> - 2003-08-18 04:27:42
|
Gisle Vanem wrote: > > 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). Here's a rather different alternative: http://make.paulandlesley.org/autodep.html > I'm having troubles forcing make to cd into a dir to exec > a perl script.[...] > > 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. Each command line executes in its own subshell. Try cd $(BROOT)/win32utils; perl ./makeversion.pl |