2011-05-12 09:54:27 +00:00
|
|
|
Steven, Nico
|
|
|
|
|
|
|
|
A type __get_and_build:
|
|
|
|
requires __directory /var/tmp
|
|
|
|
wget's source to /var/tmp
|
|
|
|
builds programm in /var/tmp
|
|
|
|
|
|
|
|
Question: How to define that this object depends on
|
|
|
|
__directory/var/tmp?
|
|
|
|
|
|
|
|
Answer for now:
|
|
|
|
require="__directory/var/tmp" $__self "$@"
|
|
|
|
-> construct $@ from params in directory
|
|
|
|
|
2011-05-12 10:06:20 +00:00
|
|
|
Answer2 for now:
|
|
|
|
Use a second type:
|
2011-05-12 11:49:58 +00:00
|
|
|
__get_and_build:
|
|
|
|
__directory /var/tmp
|
|
|
|
require="__directory/var/tmp" __build
|
|
|
|
__build:
|
|
|
|
gencode-remote:
|
|
|
|
wget && build
|
|
|
|
|
2011-05-12 10:06:20 +00:00
|
|
|
|
2011-05-12 09:54:27 +00:00
|
|
|
Answert for soon:
|
|
|
|
Should be doable easier!
|
|
|
|
|