From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2656 invoked by alias); 22 May 2003 16:44:07 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 2575 invoked from network); 22 May 2003 16:44:05 -0000 Received: from unknown (HELO inauspicious.demon.co.uk) (193.237.142.182) by sources.redhat.com with SMTP; 22 May 2003 16:44:05 -0000 Received: from slippy.wire.rat ([192.168.1.1]) by inauspicious.demon.co.uk with esmtp (Exim 3.36 #1) id 19ItAi-0001Zk-00 for rhug-rhats@sources.redhat.com; Thu, 22 May 2003 17:44:04 +0100 Received: from slippy.wire.rat (localhost.localdomain [127.0.0.1]) by slippy.wire.rat (8.12.8/8.12.8) with ESMTP id h4MGi4LD026875 for ; Thu, 22 May 2003 17:44:04 +0100 Received: (from gary@localhost) by slippy.wire.rat (8.12.8/8.12.8/Submit) id h4MGi3Z1026873 for rhug-rhats@sources.redhat.com; Thu, 22 May 2003 17:44:03 +0100 Date: Thu, 22 May 2003 16:44:00 -0000 From: Gary Benson To: rhug-rhats@sources.redhat.com Subject: Re: [tromey@redhat.com (Tom Tromey)] FAIL: rhug build on Sat May 3 03:26:43 MDT 2003 Message-ID: <20030522164403.GE16272@redhat.com> Mail-Followup-To: rhug-rhats@sources.redhat.com References: <87wuh7ptsu.fsf@fleche.redhat.com> <1053502285.3465.9.camel@escape> <20030521093824.GE31476@redhat.com> <1053531968.3465.525.camel@escape> <20030521164407.GR31476@redhat.com> <1053544528.3465.589.camel@escape> <20030522092501.GB15469@redhat.com> <1053620895.3465.797.camel@escape> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1053620895.3465.797.camel@escape> User-Agent: Mutt/1.4.1i X-PGP-Fingerprint: 6646 CF68 DEA8 07CA CA64 C18C A150 FC2D 85A8 F78B X-SW-Source: 2003-05/txt/msg00012.txt.bz2 Anthony Green wrote: > I got it. I am building outside of my srcdir. I think this needs a > "$(srcdir)/" or two somewhere... > > .resource-stamp: $(XERCES_PROP_S) > @for x in $(XERCES_PROP_S); do \ > if [ ! -f $$x.o -o $$x -nt $$x.o ]; then \ > $(top_srcdir)/mkinstalldirs `dirname $$x`; \ > cp -a $$x $$x.java; \ > echo $(LTGCJCOMPILE) -o $$x.o -c $$x \ > -Wc,--resource,`echo $$x | sed "s/.*\/src\///g"`; \ > $(LTGCJCOMPILE) -o $$x.o -c $$x.java \ > -Wc,--resource,`echo $$x | sed "s/.*\/src\///g"`; \ > rm -f $$x.java; \ > fi; \ > done > @touch $@ > > Maybe just "cp -a $(srcdir)/$$x $$.java; \"? I don't understand the > "[ ! -f ... " etc part. Does this need a $(srcdir) as well? The [ ! -f $$x.o -o $$x -nt $$x.o ] is basically to make it only build the .o file when it isn't there or the .properties file is newer than it (like what make should be doing). Basically, I think that every $$x.o and $$x.java need a $(srcdir), but $$x on its own does not. Gary