From 7d0538a5eadd4c00d55e137ae666e15cd46ac4c5 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Mon, 31 Jan 2011 12:14:12 +0100 Subject: [PATCH] add `tags' target to generate a tags file Signed-off-by: Tobias Ulmer --- .gitignore | 1 + Makefile | 5 ++++- make.vars | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ee9fc99..4744a51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *~ *.so *.lc +tags diff --git a/Makefile b/Makefile index 61a3c9b..eab110f 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ CLEAN_FILES = *~ buildconfig.lua .PHONY: all e2commit install install-local clean local localdist uninstall \ - doc buildconfig.lua + doc buildconfig.lua tags help: @cat INSTALL @@ -169,3 +169,6 @@ tag: showtag: @echo $(TAG) + +tags: + $(CTAGS) -R . diff --git a/make.vars b/make.vars index d0b9a38..dc3c732 100644 --- a/make.vars +++ b/make.vars @@ -117,4 +117,6 @@ E2_SU_CFLAGS = -D CHROOT_TOOL="\"$(CHROOT_TOOL)\"" \ E2_GROUP = ebs export E2_GROUP +CTAGS ?= ctags + # vim: ft=make -- 2.39.5