Re: question why it does work on not changed files here?
calmar <[email protected]> Sun, 23 Oct 2005 19:17:30 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information