diff options
| -rw-r--r-- | src/Makefile.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index a7024bda461..1f941874ea8 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -790,11 +790,12 @@ ctagsfiles3 = $(wildcard ${srcdir}/*.cc) | |||
| 790 | ## In out-of-tree builds, TAGS are generated in the build dir, like | 790 | ## In out-of-tree builds, TAGS are generated in the build dir, like |
| 791 | ## other non-bootstrap build products (see Bug#31744). | 791 | ## other non-bootstrap build products (see Bug#31744). |
| 792 | 792 | ||
| 793 | ## This does not need to depend on ../lisp and ../lwlib TAGS files, | 793 | ## This does not need to depend on ../lisp, ../lwlib and ../lib TAGS files, |
| 794 | ## because etags "--include" only includes a pointer to the file, | 794 | ## because etags "--include" only includes a pointer to the file, |
| 795 | ## rather than the file contents. | 795 | ## rather than the file contents. |
| 796 | TAGS: ${ETAGS} $(ctagsfiles1) $(ctagsfiles2) | 796 | TAGS: ${ETAGS} $(ctagsfiles1) $(ctagsfiles2) |
| 797 | $(AM_V_GEN)${ETAGS} --include=../lisp/TAGS --include=$(lwlibdir)/TAGS \ | 797 | $(AM_V_GEN)${ETAGS} --include=../lisp/TAGS --include=$(lwlibdir)/TAGS \ |
| 798 | --include=$(lib)/TAGS \ | ||
| 798 | --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \ | 799 | --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/\1/' \ |
| 799 | --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"[^"]+",[ ]\([A-Za-z0-9_]+\)/\1/' \ | 800 | --regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"[^"]+",[ ]\([A-Za-z0-9_]+\)/\1/' \ |
| 800 | $(ctagsfiles1) \ | 801 | $(ctagsfiles1) \ |
| @@ -803,12 +804,12 @@ TAGS: ${ETAGS} $(ctagsfiles1) $(ctagsfiles2) | |||
| 803 | $(ctagsfiles2) \ | 804 | $(ctagsfiles2) \ |
| 804 | $(ctagsfiles3) | 805 | $(ctagsfiles3) |
| 805 | 806 | ||
| 806 | ## Arrange to make tags tables for ../lisp and ../lwlib, | 807 | ## Arrange to make tags tables for ../lisp, ../lwlib and ../lib, |
| 807 | ## which the above TAGS file for the C files includes by reference. | 808 | ## which the above TAGS file for the C files includes by reference. |
| 808 | ../lisp/TAGS $(lwlibdir)/TAGS: FORCE | 809 | ../lisp/TAGS $(lwlibdir)/TAGS $(lib)/TAGS: FORCE |
| 809 | $(MAKE) -C $(dir $@) $(notdir $@) ETAGS="$(ETAGS)" | 810 | $(MAKE) -C $(dir $@) $(notdir $@) ETAGS="$(ETAGS)" |
| 810 | 811 | ||
| 811 | tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS | 812 | tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS $(lib)/TAGS |
| 812 | .PHONY: tags | 813 | .PHONY: tags |
| 813 | 814 | ||
| 814 | 815 | ||