I am building a project using autotool
. Basically the project depends on several 3rd-party projects which are also managed by autotool
.
my_project/
my_project/3rd-party/
To enable recursive build, I add AC_CONFIG_SUBDIRS
macros in my configure.ac:
AC_CONFIG_SUBDIRS([3rd-party/gtest-1.7.0])
AC_CONFIG_SUBDIRS([3rd-party/libstatgrab-0.91])
AC_CONFIG_SUBDIRS([3rd-party/leveldb-1.2.0])
This gives me a convenience of recursive build, link, and clean. However, I do not want to install all these 3rd-party libraries but my own project when I hit make install
. Is there anyway for me to get rid of this particular recursion?