From ae9b85ded88c65c18636cd5859d23876c437ae0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 16 Feb 1999 23:51:27 +0100
Subject: [PATCH] minor fixes

Rev: src/symmetric/Makefile.am.in:1.12
Rev: src/symmetric/include/Makefile.am.in:1.6
---
 Makefile.am.in         | 26 +-------------------------
 include/Makefile.am.in | 26 +-------------------------
 2 files changed, 2 insertions(+), 50 deletions(-)

diff --git a/Makefile.am.in b/Makefile.am.in
index c65c1cdd..d8da2c8a 100644
--- a/Makefile.am.in
+++ b/Makefile.am.in
@@ -72,28 +72,4 @@ depend:
 
 MAINTAINERCLEANFILES += $(DEP_FILES)
 
-.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 --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
+include $(top_srcdir)/misc/ctags.mk
diff --git a/include/Makefile.am.in b/include/Makefile.am.in
index f13a9be6..facd52b5 100644
--- a/include/Makefile.am.in
+++ b/include/Makefile.am.in
@@ -7,28 +7,4 @@ EXTRA_DIST = $(cvs_headers) Makefile.am.in
 Makefile.am: Makefile.am.in
 	(cd $(top_srcdir); ./make_am)
 
-.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 --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
+include $(top_srcdir)/misc/ctags.mk
-- 
GitLab