Commit dd6e8a8d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(TAGS): Split off included tags file lisp/TAGS.

(../lisp/TAGS): New target uses recursive make.
(ctagsfiles, lisptagsfiles): New variables.
parent ca9c55b0
......@@ -860,8 +860,14 @@ unlock:
chmod -w $(SOURCES)
chmod +w paths.h
tagsfiles = [a-zA-Z]*.h [a-zA-Z]*.c ../lisp/[a-zA-Z]*.el ../lisp/term/[a-zA-Z]*.el
TAGS: $(tagsfiles)
etags $(tagsfiles)
tags: TAGS
# Arrange to make a tags table in ../lisp, and another in this dir
# which includes ../lisp/TAGS by reference.
ctagsfiles = [a-zA-Z]*.h [a-zA-Z]*.c
lisptagsfiles = ../lisp/[a-zA-Z]*.el ../lisp/term/[a-zA-Z]*.el
TAGS: $(ctagsfiles)
../lib-src/etags --include=../lisp/TAGS $(ctagsfiles)
../lisp/TAGS: $(lisptagsfiles)
cd ../lisp; $(MAKE) TAGS
tags: TAGS ../lisp/TAGS
.PHONY: tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment