This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SUBDIRS: can I make but not install?


--- Alexandre Duret-Lutz <adl@src.lip6.fr> wrote:
> >>> "Gregory" == Gregory Sharp <gregsharp.geo@yahoo.com>
> writes:
> 
>  Gregory> My program uses a 3rd party library, that I include
> with the 
>  Gregory> distribution as a subdirectory.
> 
>  Gregory> I want to build the library, and statically link to
> it, which 
>  Gregory> works OK by including the subdirectory as SUBDIRS. 
> But the 
>  Gregory> problem is that "make install" also wants to install
> the 
>  Gregory> library, which I don't need.  Any suggestions for
> working 
>  Gregory> around this?  I prefer not to modify the 3rd party
> autoconf/make
>  Gregory> scripts.
> 
> I can't see any _clean_ way to do this with the current tools.
> It would be nice that Automake supports noinst_SUBDIRS and
> check_SUBDIRS for directories that must not be always built,
> or
> built only for `make check', but never installed.

Thank you for your feedback, and also Bob's.  This issue 
seems to fall on the blurry line between configuration and 
package management.

I eventually decided the best way is to modify the 3rd party 
scripts, document those modifications, then reproduce them 
for each future 3rd party release.  Not ideal, but acceptable.

Greg


=====
Greg Sharp
gregsharp@geocities.com


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]