---- install-exec-hook , 100% ----
Makefile, "install:" Makefile.am
"Makefile.am" :
install: install-am
echo "Don't forget to set your LD_LIBRARY_PATH"
, Makefile Makefile.am. , , .
, Makefile. , Makefile.am, , automake Makefile.in Makefile, , .
, "" . , , "" automake.
, "make install-exec", . "make install-exec",
- "make install" (
).
- "make
install-exec "(
).
- install-am
.
// note the lack of install: override int Makefile.am
install-exec: install-exec-am
echo "Be sure to update your LD_LIBRARY_PATH"
install-am: all-am
@${MAKE} $(AM_MAKEFLAGS) install-data install-exec
---- ----
. autotools, install-data install-exec. "exec".
makefile.am -exec-hook
:
install-exec-hook:
echo "Be sure to set your LD_LIBRARY_PATH!"
install-data, install-exec, uninstall, dist distcheck -hook.
, , . Make/Automake , , .