From 6dd6a5b227253b0cc63a70ef78046ed70b9354cc Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Thu, 7 Nov 2013 22:33:26 +0000 Subject: [PATCH] create make target for ctags file and ignore the generated file with git --- .gitignore | 1 + Makefile.am | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index d9f45e9..0f3bd91 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ src/taskrambler gmon.out test-driver /assets/html/_documentation.html +tags diff --git a/Makefile.am b/Makefile.am index 1e8e5c1..0741ee0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,6 +72,9 @@ coverage-html: -$(MAKE) -C tests $(AM_MAKEFLAGS) -k $@ endif +tags: + ctags -R -V --langdef=cclass --langmap=cclass:.h --regex-cclass='/^[ \t]*CLASS\(([a-zA-Z0-9_]+)/\1/d,definition/' + TR_DIRS = $(DESTDIR)/$(trdatadir)/assets/doc \ $(DESTDIR)/$(trdatadir)/assets/html/doc \ $(DESTDIR)/$(trdatadir)/assets/coverage \