From 4302b0b652e9e84c78842a89572b3976316a8c51 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 5 Feb 1990 10:57:58 +0000 Subject: [PATCH] fixes for emacs tags git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@262 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/Imake.rules | 4 ++-- src/config/Imake.tmpl | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/config/Imake.rules b/src/config/Imake.rules index a0181e7cf..5493f86aa 100644 --- a/src/config/Imake.rules +++ b/src/config/Imake.rules @@ -567,7 +567,7 @@ clean:: @@\ #define TagsTarget() @@\ tags:: @@\ $(TAGS) -w *.[ch] @@\ - $(TAGS) -xw *.[ch] > TAGS + $(ETAGS) *.[ch] #endif /* TagsTarget */ @@ -1173,7 +1173,7 @@ NamedCleanSubdirs(clean,dirs) */ #ifndef NamedTagSubdirs #define NamedTagSubdirs(name,dirs) \ -NamedTargetSubdirs(name,dirs,"tagging",TAGS='$(TAGS)',tags) +NamedTargetSubdirs(name,dirs,"tagging",TAGS='$(TAGS)' ETAGS='$(ETAGS)',tags) #endif /* TagSubdirs */ #ifndef TagSubdirs diff --git a/src/config/Imake.tmpl b/src/config/Imake.tmpl index 3880b57c2..777211f7c 100644 --- a/src/config/Imake.tmpl +++ b/src/config/Imake.tmpl @@ -533,6 +533,9 @@ #ifndef TagsCmd #define TagsCmd ctags #endif +#ifndef EtagsCmd +#define EtagsCmd etags +#endif #ifndef LoaderLibPrefix #define LoaderLibPrefix /**/ /* cray does -l libX11.a */ #endif @@ -580,6 +583,7 @@ EXTRA_LOAD_FLAGS = ExtraLoadFlags EXTRA_LIBRARIES = ExtraLibraries TAGS = TagsCmd + ETAGS = EtagsCmd #if ConstructMFLAGS MFLAGS = -$(MAKEFLAGS) #endif -- 2.26.2