Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/next68k fixed TAGS target for emacs style tags



details:   https://anonhg.NetBSD.org/src/rev/f016db91fa9f
branches:  trunk
changeset: 474777:f016db91fa9f
user:      dbj <dbj%NetBSD.org@localhost>
date:      Tue Jul 20 08:55:30 1999 +0000

description:
fixed TAGS target for emacs style tags

diffstat:

 sys/arch/next68k/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 205ed998a1e9 -r f016db91fa9f sys/arch/next68k/Makefile
--- a/sys/arch/next68k/Makefile Tue Jul 20 07:40:34 1999 +0000
+++ b/sys/arch/next68k/Makefile Tue Jul 20 08:55:30 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 1998/07/12 18:06:54 veego Exp $
+#      $NetBSD: Makefile,v 1.3 1999/07/20 08:55:30 dbj Exp $
 
 # Makefile for next68k tags file and boot blocks
 
@@ -14,6 +14,7 @@
 # Directories in which to place tags links
 DNEXT68K=      dev next68k include
 
+SYSDIR=                ../..
 .include "../../kern/Make.tags.inc"
 
 tags:
@@ -23,8 +24,12 @@
            >> ${TNEXT68K}
        sort -o ${TNEXT68K} ${TNEXT68K}
 
+.ifmake TAGS
+COMM!=  find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print 
+.endif
+
 TAGS:
-       emacs-etags -o ${ENEXT68K} ${NEXT68K} ${SM68K} ${COMM}
+       emacs-etags -o ${ENEXT68K} ${SNEXT68K} ${SM68K} ${COMM}
        emacs-etags -a -l none \
                --regex='/^\(ALT\)?ENTRY\(_NOPROFILE\)?(\([a-zA-Z0-9_]*\))\|^GLOBAL(\([a-zA-Z0-9_]*\))/\3\4/' \
                -o ${ENEXT68K} ${ANEXT68K} ${AM68K}



Home | Main Index | Thread Index | Old Index