public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4646] modula2: Add m2.etags rule to gcc/m2/Make-lang.in
@ 2023-10-15 13:03 Gaius Mulley
0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-10-15 13:03 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5c46cd8507041c9c029f3745017944a46fd0afe6
commit r14-4646-g5c46cd8507041c9c029f3745017944a46fd0afe6
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date: Sun Oct 15 14:01:51 2023 +0100
modula2: Add m2.etags rule to gcc/m2/Make-lang.in
This patch adds the m2.etags rule to gcc/m2/Make-lang.in which
generates etags for the .cc .c .h files within gcc/m2.
gcc/m2/ChangeLog:
* Make-lang.in (m2.tags): New rule.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diff:
---
gcc/m2/Make-lang.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in
index a54151821ef..61ad1646701 100644
--- a/gcc/m2/Make-lang.in
+++ b/gcc/m2/Make-lang.in
@@ -62,6 +62,12 @@ m2 modula-2 modula2: gm2$(exeext) xgcc$(exeext) cc1gm2$(exeext) \
$(GCC_PASSES) $(GCC_PARTS)
m2.serial = cc1gm2$(exeext)
+m2.tags: force
+ cd $(srcdir)/m2; $(ETAGS) -o TAGS.sub \
+ *.cc *.h gm2-gcc/*.cc gm2-gcc/*.h \
+ gm2-libs-ch/*.h gm2-libs-ch/*.c gm2-libs-ch/*.cc; \
+ $(ETAGS) --include TAGS.sub --include ../TAGS.sub
+
m2.srcinfo: doc/m2.info
-cp -p $^ $(srcdir)/doc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-15 13:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-15 13:03 [gcc r14-4646] modula2: Add m2.etags rule to gcc/m2/Make-lang.in Gaius Mulley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).