Commit 51f81e9c authored by Niels Möller's avatar Niels Möller
Browse files

* misc/ Deleted file. Not needed anymore, since automake

supports ctags it out of the box.
* Don't include
* src/ Likewise.

Rev: misc/
Rev: src/
parent 23f04c23
......@@ -45,5 +45,3 @@ all-recursive check-recursive: config.h
EXTRA_DIST = ANNOUNCE AUTHORS FAQ README COPYING ChangeLog ChangeLog.1 NEWS FAQ \ make_am distribution-key.gpg
include $(top_srcdir)/misc/
# ctags support. Automake only supports etags. We base our ctags support on
# automake's etags support.
.PHONY: ctags-recursive ctags
list='$(SUBDIRS)'; for subdir in $$list; do \
(cd $$subdir && $(MAKE) ctags); \
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
test -f $$subdir/tags && tags="$$tags $$here/$$subdir/tags"; \
done; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$(CONFIG_HEADER)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && ctags --langmap=c:.c.x -o $$here/tags $(CTAGS_ARGS) $$tags $(CONFIG_HEADER) $$unique $(LISP))
# This treats .h.x files as C files rather than headers, but we can't
# distinguish them from .c.x files with ctags.
# Override the standard distclean-tags target, as this doesn't support `tags'
-rm -f TAGS ID tags
......@@ -191,4 +191,3 @@ depend:
ETAGS_ARGS = -r '/ (name[ \t]+\([a-zA-Z0-9_]+\)/\1/' \
-r '/DEFINE[^(]*(\([a-zA-Z0-9_]+\)/\1/'
include $(top_srcdir)/misc/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment