Thanks to Ralf for pointing me in the right direction. I actually did something much simpler though, and it works.

In the root Makefile.am I added the following rule:

install-libonly:
        cd path/to/my/library && $(MAKE) $(AM_MAKEFLAGS) install-libonly

And in the library's Makefiles.am:

install-libonly: Makefile $(lib_LTLIBRARIES) $(include_HEADERS)
        @$(MAKE) $(AM_MAKEFLAGS) install-libLTLIBRARIES install-includeHEADERS

And it works.

Thanks again for your help Ralf.

Marwan


Reply via email to