]> git.e2factory.org Git - e2factory.git/commitdiff
add `tags' target to generate a tags file
authorTobias Ulmer <tu@emlix.com>
Mon, 31 Jan 2011 11:14:12 +0000 (12:14 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 31 Jan 2011 11:14:50 +0000 (12:14 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
.gitignore
Makefile
make.vars

index ee9fc9954229673794b23387b2affd5a234bec01..4744a51cd7c3b6a60215ce6cb7a32ca3f345cec4 100644 (file)
@@ -1,3 +1,4 @@
 *~
 *.so
 *.lc
+tags
index 61a3c9bc013e49f430c24bf4e19f8dc474b36251..eab110f401d2c7dc23a0875645f9108696777204 100644 (file)
--- 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 .
index d0b9a382fdde653fed88b11df6ec9a9a30e79234..dc3c73266de8dc7e3bffd95d61c6eaca890c0ea5 100644 (file)
--- 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