aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2019-01-23 16:02:11 -0500
committerStefan Monnier2019-01-23 16:02:11 -0500
commitdbc48d758ac90748df4befc677b2d21c5cd06d3b (patch)
treeeb57b8ec0c5ef3ef9ac216b4f8821aa48e1246f4 /src
parent191394276a4c455edd65e7f827fe8bc8317e8348 (diff)
downloademacs-dbc48d758ac90748df4befc677b2d21c5cd06d3b.tar.gz
emacs-dbc48d758ac90748df4befc677b2d21c5cd06d3b.zip
Avoid having to build src/emacs when we just want to `make tags`
* Makefile.in (TAGS tags): Remove `src` from the dependencies. * src/Makefile.in (ctagsfiles1): Strip macuvs.h and fingerprint.c.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 7eb58732672..5890eac8c63 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -720,7 +720,10 @@ ETAGS = ../lib-src/etags${EXEEXT}
720${ETAGS}: FORCE 720${ETAGS}: FORCE
721 ${MAKE} -C ../lib-src $(notdir $@) 721 ${MAKE} -C ../lib-src $(notdir $@)
722 722
723ctagsfiles1 = $(wildcard ${srcdir}/*.[hc]) 723# Remove macuvs.h and fingerprint.c since they'd cause `src/emacs`
724# to be built before we can get TAGS.
725ctagsfiles1 = $(filter-out ${srcdir}/macuvs.h ${srcdir}/fingerprint.c, \
726 $(wildcard ${srcdir}/*.[hc]))
724ctagsfiles2 = $(wildcard ${srcdir}/*.m) 727ctagsfiles2 = $(wildcard ${srcdir}/*.m)
725 728
726## In out-of-tree builds, TAGS are generated in the build dir, like 729## In out-of-tree builds, TAGS are generated in the build dir, like