tup icon indicating copy to clipboard operation
tup copied to clipboard

Copy file from source directory to build-variant directory.

Open p2rkw opened this issue 11 years ago • 6 comments

Hi, I want to copy file from source directory to variant specific directory. I tried 'cp %f %o' and 'touch %f' but tup complains that I will overwrite source file, and aborts. How to fix that?

p2rkw avatar Feb 05 '15 19:02 p2rkw

I have the same question.

AntonK89 avatar Feb 23 '15 23:02 AntonK89

I have a pull request which (sort of) resolves this.

https://github.com/gittup/tup/pull/237

SquircleSpace avatar Jun 29 '15 01:06 SquircleSpace

I would like to do that either, I am currently converting https://github.com/pickfire/www/blob/master/Makefile#L32-L33 into a Tupfile but I find it hard for a Tupfile that doesn't involve compiling.

pickfire avatar Jan 20 '16 08:01 pickfire

I also am having this issue. However, when I revert back to an older version of TUP (the version from the ubuntu binaries) this issue disappears.

alexspetty avatar Apr 06 '16 16:04 alexspetty

Does tup_preserve solve this issue? http://gittup.org/tup/manual.html

shaneleonard avatar Aug 27 '16 18:08 shaneleonard

That works for me! Thanks!

SquircleSpace avatar Oct 14 '16 16:10 SquircleSpace