changeset 38253:f88331f76b3e

(tags): Depend on $(lwlibdir)/TAGS. ($(lwlibdir)TAGS): New target. (TAGS): Fix depedency list.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 02 Jul 2001 11:51:38 +0000
parents 18b9451e4af0
children e216e537b5a8
files src/Makefile.in
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Mon Jul 02 11:24:39 2001 +0000
+++ b/src/Makefile.in	Mon Jul 02 11:51:38 2001 +0000
@@ -1171,16 +1171,22 @@
 
 /* Arrange to make a tags table TAGS-LISP for ../lisp,
    plus TAGS for the C files, which includes ../lisp/TAGS by reference.  */
+
 ctagsfiles1 = [xyzXYZ]*.[hc] 
 ctagsfiles2 = [a-wA-W]*.[hc]
-TAGS: $(srcdir)/$(ctagsfiles)
+
+TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
 	../lib-src/etags --include=TAGS-LISP --include=${lwlibdir}/TAGS \
 	  --regex='/[ 	]*DEFVAR_[A-Z_ 	(]+"\([^"]+\)"/' \
 	  $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
 frc:
 TAGS-LISP: frc
 	$(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags
-tags: TAGS TAGS-LISP
+
+$(lwlibdir)TAGS:
+	(cd $(lwlibdir); $(MAKE) -f $(lwlibdir)Makefile tags ETAGS=../lib-src/etags)
+
+tags: TAGS TAGS-LISP $(lwlibdir)TAGS
 .PHONY: tags