From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114976 invoked by alias); 18 Jun 2015 20:29:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 114961 invoked by uid 89); 18 Jun 2015 20:29:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: resqmta-po-04v.sys.comcast.net Received: from resqmta-po-04v.sys.comcast.net (HELO resqmta-po-04v.sys.comcast.net) (96.114.154.163) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 18 Jun 2015 20:29:35 +0000 Received: from resomta-po-14v.sys.comcast.net ([96.114.154.238]) by resqmta-po-04v.sys.comcast.net with comcast id hwVJ1q00A58ss0Y01wVZxR; Thu, 18 Jun 2015 20:29:33 +0000 Received: from [IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d] ([IPv6:2001:558:6045:a4:40c6:7199:cd03:b02d]) by resomta-po-14v.sys.comcast.net with comcast id hwVX1q00Q2ztT3H01wVYT0; Thu, 18 Jun 2015 20:29:32 +0000 From: Mike Stump Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: libiberty TAGS Message-Id: <17242213-EF29-4BDE-929B-AB383C8AA9B2@comcast.net> Date: Thu, 18 Jun 2015 20:35:00 -0000 To: GCC Patches Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg01309.txt.bz2 I was making tags in libiberty and noticed it just didn=92t work. :-( This is one easy way to fix it. Ok? diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index f06cc69..876fab2 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -409,8 +409,9 @@ stamp-noasandir: =20 etags tags: TAGS etags-subdir =20 +VPATH =3D @srcdir@ TAGS: $(CFILES) - etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done` + cd $(srcdir) && etags `for i in $(CFILES); do echo $(srcdir)/$$i ; = done` =20 # The standalone demangler (c++filt) has been moved to binutils. # But make this target work anyway for demangler hacking.