diff options
| author | Glenn Morris | 2016-01-06 18:25:47 -0500 |
|---|---|---|
| committer | Glenn Morris | 2016-01-06 18:25:47 -0500 |
| commit | c6d3c60f283a9c2071b4db185773a00e53e20a61 (patch) | |
| tree | 07222d80f5c1a4fd24cd9ea07e9911ff4bf009e6 /lib-src | |
| parent | efa8087d4b681a6bf673ec6f2d8220bf98705e72 (diff) | |
| download | emacs-c6d3c60f283a9c2071b4db185773a00e53e20a61.tar.gz emacs-c6d3c60f283a9c2071b4db185773a00e53e20a61.zip | |
Build tweaks related to tags files.
* lib-src/Makefile.in (tagsfiles): New variable.
(TAGS): Also depend on the source files. Use our own etags program.
* lisp/Makefile.in (ETAGS): Add EXEEXT.
(lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
Remove.
(tagsfiles): New, replacing lisptagsfiles1 etc.
Remove irrelevant source files here rather than in the TAGS rule.
(${ETAGS}): New rule.
(TAGS): Also depend on the etags executable.
* lwlib/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): Add EXEEXT.
(${ETAGS}): New rule.
(ctagsfiles): Use "wildcard".
(TAGS): Also depend on the etags executable.
* nt/Makefile.in (ETAGS, tagsfiles): New variables.
(${ETAGS}): New rule.
(TAGS): Fix dependencies.
* oldXMenu/Makefile.in (EXEEXT): New, set by configure.
(ETAGS): New variable, replacing $TAGS. Use our own etags program.
Remove "-t" argument.
(${ETAGS}): New rule.
(tagsfiles): New variable.
(TAGS): New rule, with proper dependencies.
* src/Makefile.in (ETAGS): Add EXEEXT. Add a build rule.
(ctagsfiles1, ctagsfiles2): Use "wildcard".
(ctagsfiles3): Remove.
(TAGS): Depend on etags.
(../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
directories decide if updates are needed.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 2b65cb2e1a9..b666508e593 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -345,9 +345,12 @@ extraclean: maintainer-clean | |||
| 345 | check: | 345 | check: |
| 346 | @echo "We don't have any tests for the lib-src/ directory yet." | 346 | @echo "We don't have any tests for the lib-src/ directory yet." |
| 347 | 347 | ||
| 348 | tagsfiles = $(wildcard ${srcdir}/*.[ch]) | ||
| 349 | |||
| 350 | .PHONY: tags | ||
| 348 | tags: TAGS | 351 | tags: TAGS |
| 349 | TAGS: etags${EXEEXT} | 352 | TAGS: etags${EXEEXT} ${tagsfiles} |
| 350 | etags *.[ch] | 353 | ./etags ${tagsfiles} |
| 351 | 354 | ||
| 352 | ../lib/libgnu.a: $(config_h) | 355 | ../lib/libgnu.a: $(config_h) |
| 353 | $(MAKE) -C ../lib all | 356 | $(MAKE) -C ../lib all |