[Libguestfs] where to create localenv?

lampahome pahome.chen at mirlab.org
Sat Jul 29 12:07:43 UTC 2017


>
>
> Note this is an example snippet -- you don't really need to copy&paste
> if you don't need it, and the usual `./configure` and `make` commands
> used to build autotools-based software work fine.
>
> > but I cannot execute . localenv
> > and I saw
> > Note that *localenv* is included by the top Makefile (so it’s a Makefile
> > fragment). But if it is also sourced by your *localconfigure* script then
> > it is used as a shell script.
> >
> > But I don't see any file named localenv after execute cmds and make:
> >
> > > ./autogen.sh
> > > make
>
> The 'localenv' will be used in the build directory if present -- nothing
> creates it.
>
> > how to solve it?
>
> If you don't need any particular environment setting, do not do
> ". localenv" in your build script.
>
> you mean  I can delete the line :

> -include $(top_builddir)/localenv

in Makefile?

I don't want console shows prefix string "/git/" everytime I execute the
binary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170729/e8ccf254/attachment.htm>


More information about the Libguestfs mailing list