Skip to content
Snippets Groups Projects
Commit ae9b85de authored by Niels Möller's avatar Niels Möller
Browse files

minor fixes

Rev: src/symmetric/Makefile.am.in:1.12
Rev: src/symmetric/include/Makefile.am.in:1.6
parent dc87376a
No related branches found
No related tags found
No related merge requests found
...@@ -72,28 +72,4 @@ depend: ...@@ -72,28 +72,4 @@ depend:
MAINTAINERCLEANFILES += $(DEP_FILES) MAINTAINERCLEANFILES += $(DEP_FILES)
.PHONY: ctags-recursive ctags include $(top_srcdir)/misc/ctags.mk
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 --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'
distclean-tags:
-rm -f TAGS ID tags
...@@ -7,28 +7,4 @@ EXTRA_DIST = $(cvs_headers) Makefile.am.in ...@@ -7,28 +7,4 @@ EXTRA_DIST = $(cvs_headers) Makefile.am.in
Makefile.am: Makefile.am.in Makefile.am: Makefile.am.in
(cd $(top_srcdir); ./make_am) (cd $(top_srcdir); ./make_am)
.PHONY: ctags-recursive ctags include $(top_srcdir)/misc/ctags.mk
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 --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'
distclean-tags:
-rm -f TAGS ID tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment