From: Tobias Ulmer Date: Mon, 31 Jan 2011 11:14:12 +0000 (+0100) Subject: add `tags' target to generate a tags file X-Git-Tag: e2factory-2.3.10~2 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=7d0538a5eadd4c00d55e137ae666e15cd46ac4c5;p=e2factory.git add `tags' target to generate a tags file Signed-off-by: Tobias Ulmer --- 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