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