summaryrefslogtreecommitdiff
path: root/doc/lispref/Makefile.in
diff options
context:
space:
mode:
authorPetteri Hintsanen <petterih@iki.fi>2021-03-08 00:25:53 +0200
committerEli Zaretskii <eliz@gnu.org>2021-03-11 16:42:57 +0200
commit62610da8c44ae864d21a1f1e12bd4444e688eaf6 (patch)
treee02b5f2085c8b7b22a487e2b09db96a29e4ae0c6 /doc/lispref/Makefile.in
parent222d70333f2cfeefa6c3430fc54714bd122cc779 (diff)
downloademacs-62610da8c44ae864d21a1f1e12bd4444e688eaf6.tar.gz
Make tags tables from Texinfo sources
* doc/misc/Makefile.in (ETAGS, texifiles): New variables. (TAGS, tags, FORCE, ${ETAGS}): New targets. (bootstrap-clean maintainer-clean): Delete TAGS. * doc/lispref/Makefile.in (ETAGS, texifiles): New variables. (TAGS, tags, FORCE, ${ETAGS}): New targets. (bootstrap-clean maintainer-clean): Delete TAGS. * doc/lispintro/Makefile.in (ETAGS, texifiles): New variables. (TAGS, tags, FORCE, ${ETAGS}): New targets. (bootstrap-clean maintainer-clean): Delete TAGS. * doc/emacs/Makefile.in (ETAGS, texifiles): New variables. (TAGS, tags, FORCE, ${ETAGS}): New targets. (bootstrap-clean maintainer-clean): Delete TAGS. * Makefile.in (TAGS tags): Make tags in doc/emacs, doc/lispintro, doc/lispref and doc/misc.
Diffstat (limited to 'doc/lispref/Makefile.in')
-rw-r--r--doc/lispref/Makefile.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index 876303593ce..a7701c5f98e 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -180,6 +180,7 @@ infoclean:
$(buildinfodir)/elisp.info-[1-9][0-9]
bootstrap-clean maintainer-clean: distclean infoclean
+ rm -f TAGS
.PHONY: install-dvi install-html install-pdf install-ps install-doc
@@ -227,5 +228,20 @@ uninstall-pdf:
uninstall-doc: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
+ETAGS = ../../lib-src/etags${EXEEXT}
+
+${ETAGS}: FORCE
+ $(MAKE) -C $(dir $@) $(notdir $@)
+
+texifiles = $(wildcard ${srcdir}/*.texi)
+
+TAGS: ${ETAGS} $(texifiles)
+ $(AM_V_GEN)${ETAGS} $(texifiles)
+
+tags: TAGS
+.PHONY: tags
+
+FORCE:
+.PHONY: FORCE
### Makefile ends here