Commit | Line | Data |
---|---|---|
f5934919 | 1 | # @(#)Makefile 7.6 (Berkeley) %G% |
b4a50292 KB |
2 | |
3 | # Makefile for tahoe tags file | |
4 | ||
e8dffedd MK |
5 | .include "../kern/Make.tags.inc" |
6 | ||
b4a50292 | 7 | all: |
f5934919 | 8 | @echo "make tags only" |
b4a50292 | 9 | |
f5934919 KB |
10 | TAHOE= /sys/tahoe/conf/*.[ch] /sys/tahoe/if/*.[ch] \ |
11 | /sys/tahoe/include/*.[ch] /sys/tahoe/tahoe/*.[ch] \ | |
12 | /sys/tahoe/vba/*.[ch] | |
13 | ATAHOE= /sys/tahoe/tahoe/*.s | |
b4a50292 | 14 | |
f5934919 KB |
15 | tags:: |
16 | -ctags -dt ${COMM} ${TAHOE} | |
17 | egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ATAHOE} | \ | |
b4a50292 | 18 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ |
f5934919 KB |
19 | >> tags |
20 | sort -o tags tags |