Message ID | 17242213-EF29-4BDE-929B-AB383C8AA9B2@comcast.net |
---|---|
State | New |
Headers | show |
Mike Stump <mikestump@comcast.net> writes:
> + cd $(srcdir) && etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
This doesn't work with a relative $(srcdir).
Andreas.
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: etags tags: TAGS etags-subdir +VPATH = @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` # The standalone demangler (c++filt) has been moved to binutils. # But make this target work anyway for demangler hacking.