diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2023-10-15 14:01:51 +0100 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2023-10-15 14:01:51 +0100 |
commit | 5c46cd8507041c9c029f3745017944a46fd0afe6 (patch) | |
tree | f8c1e338906e08a279b4a602e0d978f9622ee4d8 /gcc | |
parent | 3bcc10b98e9ffc1296d3d1aae16e85c6bdb09d1a (diff) | |
download | gcc-5c46cd8507041c9c029f3745017944a46fd0afe6.zip gcc-5c46cd8507041c9c029f3745017944a46fd0afe6.tar.gz gcc-5c46cd8507041c9c029f3745017944a46fd0afe6.tar.bz2 |
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>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/m2/Make-lang.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in index a541518..61ad164 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 |