fix? tags
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 25 Jul 1992 06:28:37 +0000 (22:28 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 25 Jul 1992 06:28:37 +0000 (22:28 -0800)
SCCS-vsn: sys/hp300/Makefile 7.6

usr/src/sys/hp300/Makefile

index 1a47281..adadbe7 100644 (file)
@@ -1,29 +1,19 @@
-#      @(#)Makefile    7.5 (Berkeley) %G%
+#      @(#)Makefile    7.6 (Berkeley) %G%
 
 # Makefile for hp300 tags file
 
 .include "../kern/Make.tags.inc"
 
 all:
 
 # Makefile for hp300 tags file
 
 .include "../kern/Make.tags.inc"
 
 all:
-       @echo "make tags or links only"
+       @echo "make tags only"
 
 
-THP300=        ../hp300/tags
-SHP300=        ../hp300/hp300/*.[ch] ../hp300/include/*.h \
-       ../hp300/hpux/*.[ch] ../hp300/dev/*.[ch]
-AHP300=        ../hp300/hp300/*.s
+HP300= /sys/hp/dev/*.[ch] /sys/hp/hpux/*.[ch] /sys/hp300/conf/*.[ch] \
+       /sys/hp300/dev/*.[ch] /sys/hp300/hp300/*.[ch] /sys/hp300/include/*.[ch]
+AHP300=        /sys/hp300/hp300/*.s
 
 
-# Directories in which to place hp300 tags links
-DHP300=        dev hpux include
-
-tags: FRC
-       -ctags -dtf ${THP300} ${COMM} ${SHP300}
+tags::
+       -ctags -dt ${COMM} ${HP300}
        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
            sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
            sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
-               >> ${THP300}
-       sort -o ${THP300} ${THP300}
-
-links:
-       -for i in ${DHP300}; do \
-           (cd $$i && rm -f tags; ln -s ../tags tags); done
-
-FRC:
+               >> tags
+       sort -o tags tags