[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to handle data/script files in a VPATH build ?
From: |
Ralf Wildenhues |
Subject: |
Re: How to handle data/script files in a VPATH build ? |
Date: |
Tue, 9 Feb 2010 21:01:48 +0100 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hi Sylvestre,
* Sylvestre Ledru wrote on Tue, Feb 09, 2010 at 07:00:51PM CET:
> Le samedi 06 février 2010 à 18:56 +0100, Ralf Wildenhues a écrit :
> >
> > data-in-build-tree: data-in-source-tree
> > cp $(srcdir)/data-in-source-tree data-in-build-tree
> Hmm, I have more than 7000 data files and their names are relevant :/
> (Like in java with the name of the object which matches the filename)
>
> It is going to be tricky to handle on such number of files ...
Well, since they are all in the source tree, I guess that they are all
not generated files, or at least most of them aren't. Can you just make
one rule to copy them all, or many of them?
stamp-copy: whatever-this-depends-on
cp $(filelist) ...
for file in ..; do cp ... done
...
: >$@
all-local: stamp-copy
CLEANFILES += stamp-copy $(copied_files) ...
Cheers,
Ralf
- How to handle data/script files in a VPATH build ?, Sylvestre Ledru, 2010/02/03
- Re: How to handle data/script files in a VPATH build ?, Peter Johansson, 2010/02/03
- Re: How to handle data/script files in a VPATH build ?, Sylvestre Ledru, 2010/02/06
- Re: How to handle data/script files in a VPATH build ?, Sylvestre Ledru, 2010/02/09
- Re: How to handle data/script files in a VPATH build ?,
Ralf Wildenhues <=
- Re: How to handle data/script files in a VPATH build ?, Steffen Dettmer, 2010/02/10
- Re: How to handle data/script files in a VPATH build ?, Ralf Wildenhues, 2010/02/10
- Re: How to handle data/script files in a VPATH build ?, Steffen Dettmer, 2010/02/12
- Re: How to handle data/script files in a VPATH build ?, Dr. David Kirkby, 2010/02/12
- portability testing (was: How to handle data/script files in a VPATH build ?), Ralf Wildenhues, 2010/02/20