aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-28 19:45:33 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-28 19:45:33 +0000
commite4ea9beffed699ea9ae17094c1a206258a941123 (patch)
treeeae4ee6f41aacaafa8e261c5601e34e59de5bf7e /libiberty
parentba4b83b6ea8388e807f41781777f8e596c7496d9 (diff)
gcc/c/
* Make-lang.in (c.tags): Also include libcpp TAGS. gcc/cp/ * Make-lang.in (c++.tags): Also include libcpp TAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229504 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/Makefile.in8
2 files changed, 7 insertions, 5 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 3fe0f69fac5..b5ac8363c36 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-28 Jason Merrill <jason@redhat.com>
+
+ * Makefile.in (TAGS): Fix for separate build directory.
+
2015-10-18 Roland McGrath <roland@gnu.org>
Iain Sandoe <iain@codesourcery.com>
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 7d7e2f41efa..9f7f70dae21 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -406,12 +406,10 @@ stamp-noasandir:
else true; fi
touch stamp-noasandir
-.PHONY: all etags tags ls clean stage1 stage2
+.PHONY: all etags tags TAGS ls clean stage1 stage2
-etags tags: TAGS etags-subdir
-
-TAGS: $(CFILES)
- etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
+etags tags TAGS: etags-subdir
+ cd $(srcdir); etags $(CFILES)
# The standalone demangler (c++filt) has been moved to binutils.
# But make this target work anyway for demangler hacking.