From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q3SXm-0006BI-Ku for garchives@archives.gentoo.org; Sat, 26 Mar 2011 12:24:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EF441C017; Sat, 26 Mar 2011 12:24:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D2E6D1C013 for ; Sat, 26 Mar 2011 12:24:11 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 337A61B410D for ; Sat, 26 Mar 2011 12:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 24DEE80073 for ; Sat, 26 Mar 2011 12:24:10 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: Subject: [gentoo-commits] proj/libbash:master commit in: / X-VCS-Repository: proj/libbash X-VCS-Files: Makefile.am X-VCS-Directories: / X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: e6eb71d9496b4c14596e01a193b630810a46eddd Date: Sat, 26 Mar 2011 12:24:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 68d6a88e8bdffee609595ab5f1d8c0e0 commit: e6eb71d9496b4c14596e01a193b630810a46eddd Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Fri Mar 25 21:14:47 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Fri Mar 25 21:14:47 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3De6eb71d9 Fix walker make rule The old rule was also running bashast.g again which caused rebuilds due to for example bashastLexer.c timestamp changing. Now the walker generation rule just depends on cgrammar.run. --- Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 59657ad..0d47f9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -132,9 +132,9 @@ bashast.g: bashast/bashast.g =20 # Avoid initializing C++ type to NULL by sed, variables whose name # starts with libbash_ will be stripped -walker.run: bashast/bashwalker.g +walker.run: bashast/bashwalker.g cgrammar.run touch $@.tmp - @JAVA@ -classpath @antlr_cp@ -Xmx1024m org.antlr.Tool -Xconversiontimeo= ut 20000 bashast.g -fo . $< + @JAVA@ -classpath @antlr_cp@ -Xmx1024m org.antlr.Tool -Xconversiontimeo= ut 20000 -fo . $< sed -i -e 's/\(libbash_.*\) =3D NULL/\1/' bashwalker.c mv $@.tmp $@ =20