[fpc-pascal] command and variable substitution in fpcmake

Marc Santhoff M.Santhoff at t-online.de
Thu Aug 2 19:00:42 CEST 2007


Am Donnerstag, den 02.08.2007, 09:51 +0200 schrieb Jonas Maebe:
> On 02 Aug 2007, at 01:41, Marc Santhoff wrote:
> 
> > Am Mittwoch, den 01.08.2007, 22:21 +0200 schrieb Peter Vreman:
> >>> How can I make command execution work?
> > ...
> >> See the info page of make which functions are available. For shell
> >> execution:
> >>
> >> PWD=$(shell pwd)
> >
> > Ah yes, that does it. Maybe the day will come when I like fpcmake. ;)
> >
> > With "info page" I assume you meant the manpage and fpcmake(5)
> 
> No, this is independent of fpcmake, it's about what (GNU) make uses/ 
> supports. So I assume Peter was referring to "info make" (or  
> presumably "info gmake" or "info gnumake" on FreeBSD).

I know and use that info page, but I have to admit that I didn't know
the shell function yet (never needed it this way, using backticks or $()
until now).

My main problem is to get an idea of how things are translated by
fpcmake, but slowly I'm getting there.

Thanks a lot,
Marc





More information about the fpc-pascal mailing list