aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-04-20 19:23:04 +0000
committerRichard M. Stallman <[email protected]>1994-04-20 19:23:04 +0000
commitdd6e8a8dd0748654c28875dfbbeb11e087fc90ae (patch)
tree4132ce4f52e60ba34675128c8b3236388ea21fac /src/Makefile.in
parentca9c55b09a791d21e83e8a76183ed51550e4fa42 (diff)
(TAGS): Split off included tags file lisp/TAGS.
(../lisp/TAGS): New target uses recursive make. (ctagsfiles, lisptagsfiles): New variables.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 218e053689..613d5ae80a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -860,8 +860,14 @@ unlock:
relock:
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