[libvirt] [python PATCH] maint: document development against uninstalled libvirt

Eric Blake eblake at redhat.com
Mon Jun 30 13:45:16 UTC 2014


On 06/30/2014 06:53 AM, Martin Kletzander wrote:
>>
>> FYI: I'm also using this (but considered it hackish enough to not
>> publish as a formal patch):
>>
>> $ echo /GNUmakefile >> .git/info/exclude
>> $ cat GNUmakefile
>> # My hidden wrapper to preset things that I like...
>> include Makefile
>> export LD_LIBRARY_PATH=/home/eblake/libvirt/src/.libs/
>> export PKG_CONFIG_PATH=/home/eblake/libvirt/src/
>> $
>>
> 
> For people like me, who use 'git clean -fxd'; it removes such
> excludes. :(

Daniel's trick of using 'path/to/libvirt/run make' is good enough to not
need this file.  Or, you could modify your $PATH to include
/path/to/libvirt, and just use 'run make', even after nuking non-tracked
files in the repository.

> 
> How about either adding similar GNUmakefile, of modifying the Makefile
> you added into the repo liike this"

At this point, I still don't think it's worth adding anything further to
the libvirt-python repository, other than documentation in README about
using Dan's 'run' trick.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140630/a492cb82/attachment-0001.sig>


More information about the libvir-list mailing list