Making it easier to build and test new vms

nicolas.pelletier3 at free.fr nicolas.pelletier3 at free.fr
Tue Aug 3 22:46:12 PDT 2004


"Brian T. Rice" <water at tunes.org> writes:

> Thanks, that is easier, and it works (well, for me, using GNU make);
> it's in CVS now. If someone knows a way to set this new variable on
> invocation of make, that would probably save even more time (no need
> to open an editor).

With  GNU make  (at  least), all  you  need is  to  give the  variable
definition on the command line. Example:

nicolas at reglisse:~/tmp$ cat Makefile
TOTO = pouet

all:
        echo $(TOTO)
nicolas at reglisse:~/tmp$ make TOTO=zork
echo zork
zork

-- 
Nicolas




More information about the Slate mailing list