[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: executing shell commands (like cp)
From: |
Alexandre Duret-Lutz |
Subject: |
Re: executing shell commands (like cp) |
Date: |
Tue, 07 Sep 2004 23:28:50 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "sashan" == sashan <address@hidden> 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
- Re: executing shell commands (like cp),
Alexandre Duret-Lutz <=