[DOC] Re: java OutOfMemory building documentation
Dan Nicholson
dbn.lists at gmail.com
Sun Oct 3 06:55:12 PDT 2010
On Fri, Oct 1, 2010 at 7:48 AM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> 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.
I thought that was a GNU make thing, but if not it's definitely the
way to go. I don't actually have any other make's to look at.
--
Dan
More information about the xorg-devel
mailing list