Does tup support creating new directories during the build?

-bash-4.1$ cat Tupfile

: |> mkdir -p foo-dir |> foo-dir

: | foo-dir |> touch foo-dir/hello.c |> foo-dir/hello.c

-bash-4.1$ /nobackup/svandava/work/tup-oct-22/tup/build/tup
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.000s] Reading in new environment variables...
[ tup ] [0.000s] Parsing Tupfiles...
tup error: Unable to output to a different directory because 'foo-dir' is a 
generated file
* 0) [0.001s] .
tup error: Failed to find directory ID for dir 'foo-dir/hello.c' relative 
to '.'
tup error: Error parsing Tupfile line 4
  Line was: ': | foo-dir |> touch foo-dir/hello.c |> foo-dir/hello.c'
 [ ] 100%
 *** tup: 1 job failed.

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to