diff options
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 77492d3..6abcef5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -460,13 +460,16 @@ autoconf: # Create a tags file for vi tags:: - ctags -w -t Include/*.h - for i in $(SUBDIRS); do ctags -w -t -a $$i/*.[ch]; done + cd $(srcdir); \ + ctags -w -t Include/*.h; \ + for i in $(SUBDIRS); do ctags -w -t -a $$i/*.[ch]; \ + done; \ sort tags -o tags # Create a tags file for GNU Emacs TAGS:: - etags Include/*.h + cd $(srcdir); \ + etags Include/*.h; \ for i in $(SUBDIRS); do etags -a $$i/*.[ch]; done # Add dependencies to sub-Makefiles |