[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use Command
From: |
Timothee Besset |
Subject: |
Re: How to use Command |
Date: |
Thu, 23 Jan 2003 09:24:53 +0100 |
Well you can write some perl code which generates the complete list of
dependencies for you? Run the loop, feed it through ->Depends() ? (if I
remember correctly)
TTimo
On Thu, 23 Jan 2003 08:50:04 +0100
"BUFFERNE,VINCENT (HP-France,ex1)" <address@hidden> wrote:
> Hi All,
>
> I am using cons to build my software. During my build I produce a shar file
> with:
>
> $local_env->Command("foo", qq (
> shar $script_dir > %>
> )
> );
>
> This shar hundreds of files. I do not want to maintain such a huge list of
> dependencies; it is why I have removed dependencies in "Command".
> But if I modify one of the file that I want to shar, Cons will not detect
> the change (as their is no dependencies) and will retrieve the shar file
> from its cache.
>
> I have found a workaround using a dummy file that I "touch" when I want to
> force the production of a new shar file:
>
> $local_env->Command("foo", "dummy_file" ,qq (
> shar $script_dir > %>
> )
> );
>
> But I not really happy with it. Do you have any suggestions ???
>
> Vincent
>
>
> _______________________________________________
> address@hidden
> http://mail.gnu.org/mailman/listinfo/cons-discuss
> Cons URL: http://www.dsmit.com/cons/
>
- How to use Command, BUFFERNE,VINCENT (HP-France,ex1), 2003/01/23
- Re: How to use Command,
Timothee Besset <=