(tagsfiles): New variable.
authorRoland McGrath <roland@gnu.org>
Mon, 21 Dec 1992 18:26:29 +0000 (18:26 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 21 Dec 1992 18:26:29 +0000 (18:26 +0000)
(TAGS): Depend on $(tagsfiles); use that in cmds.
(tags): Separate phony rule; depends on TAGS.

src/Makefile.in

index 606e063..fbf4754 100644 (file)
@@ -69,6 +69,9 @@ xmakefile: ymakefile config.h
        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