# HG changeset patch # User Richard M. Stallman # Date 766869784 0 # Node ID 674dceb3bb4f6916405aa5cae7138b529b9348f0 # Parent 62cdd56aa99f7684745bafff2f5938e88a7767c5 (TAGS): Split off included tags file lisp/TAGS. (../lisp/TAGS): New target uses recursive make. (ctagsfiles, lisptagsfiles): New variables. diff -r 62cdd56aa99f -r 674dceb3bb4f src/Makefile.in --- a/src/Makefile.in Wed Apr 20 10:52:23 1994 +0000 +++ b/src/Makefile.in Wed Apr 20 19:23:04 1994 +0000 @@ -860,8 +860,14 @@ 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