>>> "sashan" == sashan  <[EMAIL PROTECTED]> writes:

 sashan> Hi
 sashan> How do I execute a copy (cp) of some files once they are generated by
 sashan> automake. The situation is I have a automake/autoconf/libtool
 sashan> generated library that is loadable by python. libtool generates this
 sashan> library and places it in <project-name>/.libs/lib<name>.so.0.0.0. What
 sashan> I want to do is copy the file lib<name>.so.0.0.0 into a directory of
 sashan> my choosing after the build process of it is completed. Any
 sashan> suggestions?

Other than copying files, you might consider using James
Henstridge's ltihooks.py to import libtool libraries directly
from Python.  You can find ltihooks.py in pygtk.  I'm using it
in Spot (spot.lip6.fr) to load Swig generated libtool modules.

-- 
Alexandre Duret-Lutz



Reply via email to