[DOC] Re: java OutOfMemory building documentation

Alan Coopersmith alan.coopersmith at oracle.com
Fri Oct 1 07:48:16 PDT 2010


Dan Nicholson wrote:
> On Thu, Sep 30, 2010 at 6:56 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>> Also of note... My G5 took an hour and a half just to 'make install' with
>> these changes.  It looks like it's redoing some things in 'make install'
>> that it already did in 'make':
>>
>> http://tinderbox.x.org/builds/2010-09-30-0022/
> 
> One guess: don't make nobase_x11locale_DATA depend on builddirs in
> nls/Makefile.am. Since builddirs is essentially a phony target and
> doesn't produce a target with a timestamp, nobase_x11locale_DATA will
> always be considered out of date and hence get rebuilt.
> 
> I think there are two ways to handle this:
> 
> 1. Change all the .pre rules (including the one in cpprules.in) to
> create the directory they're being copied to if necessary. Something
> like:
> 
> .pre:
>     @dir=`echo $@ | sed 's,\(.*\)/.*,\1,'`; $(MKDIR_P) $$dir

Shouldn't this be able to be simplified to just:
	@$(MKDIR_P) $(@D)

I thought we previously determined that was portable to all the versions
of make people used.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list