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