## Process this file with make_am to produce Makefile.am CVS_HEADERS: cvs_headers BODY: EXTRA_DIST = $(cvs_headers) Makefile.am.in .PHONY: ctags-recursive ctags ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ (cd $$subdir && $(MAKE) ctags); \ done ctags: ctags-recursive $(HEADERS) $(SOURCES) $(CONFIG_HEADER) $(TAGS_DEPENDENCIES) $(LISP) 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 -o $$here/tags $(CTAGS_ARGS) $$tags $(CONFIG_HEADER) $$unique $(LISP)) # Override the standard distclean-tags target, as this doesn't support `tags' distclean-tags: -rm -f TAGS ID tags