(Makefiles): PATCH to include libcpp and libiberty in GCC etags
authorJason Merrill <jason@redhat.com>
Sat, 28 Nov 2015 16:39:30 +0000 (16:39 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 28 Nov 2015 16:39:30 +0000 (16:39 +0000)
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

libiberty/ChangeLog
libiberty/Makefile.in

index 3025e99324bd10db9aeb35d5a876ec2c7920d3ee..3e3dab6328546e2140c5a5bd77c621dc63bf9e67 100644 (file)
        Android hosts.
        * configure: Regenerate.
 
+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>
 
index 7d7e2f41efa44bed7341b07f9cee7fde240cf216..9f7f70dae212d96a35a4013a13af9eb09b518062 100644 (file)
@@ -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.
This page took 0.03636 seconds and 4 git commands to generate.