Re: [A-a-p-user] question why it does work on not changed files here?
Brought to you by:
vimboss
From: calmar <ma...@ca...> - 2005-10-23 17:17:44
|
On Sun, Oct 23, 2005 at 08:55:25AM +0200, calmar wrote: > > ------------------[ from the manual ]------------------------ > Changing a file in-place has the disadvantage that the normal > dependencies don't work, since there is no separate source and > target file. > ------------------------------------------------------------- > The question remains: let's say I have one directory and I want to copy all newly changed files to another directory without using 'publish'... attributes (or however), but rather with using a system command. How could I do that? when ------------------------------------------ all : file1 file2 file3 @for item in source_list: :system cp $source targetdir/ ------------------------------------------ does not work because there are no 'dependences between files, or however? (the recipe above always copies the files, doesn't matter if changed or not) Thanks a lot for any hint marco -- calmar (o_ It rocks: LINUX + Command-Line-Interface //\ V_/_ http://www.calmar.ws |