Remaining differences between modular & monolith installs

Alan Coopersmith Alan.Coopersmith at Sun.COM
Mon Oct 17 11:55:05 PDT 2005


Matthieu Herrb wrote:
> Alan Coopersmith wrote:
> 
>> I've been diff'ing install trees produced by the modular & monolith
>> CVS head's lately.   (You may have noticed all the man page checkins
>> to bring the modular man pages up to what's installed by the monolith.
>> Another set should be coming soon for the driver man page.)
>>
> Unfortunatly those changes break the build on BSD systems in two ways:
> 
> - the .shadows.DONE: target confuses make; it interprets it as an 
> implicit rule (because automake adds .SUFFIX declaration automagically).
> 
> - the LIB_MANSUFFIXvariable is not expanded in constructs like 
> $(Xau_shadows:=.$(LIB_MAN_SUFFIX)). It can be forced by using an 
> intermediate variable affected with the ':=' operator.
> 
> The attached patch shows what is needed for libXau. Unfortunatly I don't 
> have time (and it would be ugly) to do the corresponding changes to all 
> modules. So if someone has a better idea to implement this in a portable 
> way, it's welcome.

Would it be simpler and more portable to replace $(LIB_MAN_SUFFIX) with
@LIB_MAN_SUFFIX@ so automake replaces it before make sees it?

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


More information about the xorg-modular mailing list