On Fri, Jun 29, 2007 at 12:28:27PM -0300, Claudio Leonel wrote:
> I am trying to make a package for directfb.
> I already passed the compilation phase and I am
> trying to install it in the target.
> 
> I know how to copy files and install links using
> 'install_copy' and 'install_link' but in this
> case it needs to be created a whole hierarchy of
> directories.
> 
> Is there a function for creating a directory in
> the target ?

You can call the $(install_copy...) macros in a loop, something like

        for file in `find bla blub`; do \
                $(install_copy ...) \
        done 

Several such examples are in the rules directory...

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


-- 
ptxdist mailing list
[email protected]

Reply via email to