changeset 1694:ca439341a0e5

(tagsfiles): New variable. (TAGS): Depend on $(tagsfiles); use that in cmds. (tags): Separate phony rule; depends on TAGS.
author Roland McGrath <roland@gnu.org>
date Mon, 21 Dec 1992 18:26:29 +0000
parents 4b2f399dbea2
children f0d8f2b34eb3
files src/=Makefile.in
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/=Makefile.in	Mon Dec 21 05:38:25 1992 +0000
+++ b/src/=Makefile.in	Mon Dec 21 18:26:29 1992 +0000
@@ -69,6 +69,9 @@
 	chmod 444 xmakefile
 	rm -f junk.c junk.cpp
 
-tags TAGS:
-	etags [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \
-	      ../external-lisp/*.el
+tagsfiles = [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el \
+	    ../external-lisp/*.el
+TAGS: $(tagsfiles)
+	etags $(tagsfiles)
+tags: TAGS
+.PHONY: tags