fixes for emacs tags
authorJohn Kohl <jtkohl@mit.edu>
Mon, 5 Feb 1990 10:57:58 +0000 (10:57 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 5 Feb 1990 10:57:58 +0000 (10:57 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@262 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Imake.rules
src/config/Imake.tmpl

index a0181e7cf6a34061e1ff527a852f91f46920b94a..5493f86aa6da3c801d50152cd0d9c599d9936252 100644 (file)
@@ -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
index 3880b57c24f1303e3fae53c7fce91acc80c659ac..777211f7c4390bc69dde8a7985a9112fdc77ea69 100644 (file)
 #ifndef TagsCmd
 #define TagsCmd ctags
 #endif
+#ifndef EtagsCmd
+#define EtagsCmd etags
+#endif
 #ifndef LoaderLibPrefix
 #define LoaderLibPrefix /**/                   /* cray does -l libX11.a */
 #endif
  EXTRA_LOAD_FLAGS = ExtraLoadFlags
   EXTRA_LIBRARIES = ExtraLibraries
              TAGS = TagsCmd
+            ETAGS = EtagsCmd
 #if ConstructMFLAGS
            MFLAGS = -$(MAKEFLAGS)
 #endif