summaryrefslogtreecommitdiff
path: root/sys/arch/landisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/landisk/Makefile')
-rw-r--r--sys/arch/landisk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/landisk/Makefile b/sys/arch/landisk/Makefile
index eb9bbc86852..4c909619de1 100644
--- a/sys/arch/landisk/Makefile
+++ b/sys/arch/landisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2010/11/03 20:08:03 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 2010/11/12 17:11:44 deraadt Exp $
S= ${.CURDIR}/../..
KFILE= GENERIC
@@ -24,10 +24,11 @@ tags::
eval "_mach=\"`make -V _mach -f $${TDIR}/Makefile`\"" && \
eval "_machdir=\$S/arch/$${_mach}" && \
eval "_archdir=\$S/arch/$${_arch}" && \
+ eval "HFILES=\"`find $S \( -path $S/'arch' -o -path $S/stand -o -path $S/lib/libsa -o -path $S'/lib/libkern/arch' \) -prune -o -name '*.h'; find $${_machdir} $${_archdir} $S/lib/libkern/arch/$${_mach} \( -name boot -o -name stand \) -prune -o -name '*.h'`\"" && \
eval "SFILES=\"`make -V SFILES -f $${TDIR}/Makefile`\"" && \
eval "CFILES=\"`make -V CFILES -f $${TDIR}/Makefile`\"" && \
eval "AFILES=\"`make -V AFILES -f $${TDIR}/Makefile`\"" && \
- ctags -wd -f ${TAGS} $${CFILES} && \
+ ctags -wd -f ${TAGS} $${CFILES} $${HFILES} && \
egrep "^[_A-Z]*ENTRY[_A-Z]*\(.*\)" $${SFILES} $${AFILES} | \
sed "s;\\([^:]*\\):\\([^(]*\\)(\\([^, )]*\\)\\(.*\\);\\3 \\1 /^\\2(\\3\\4$$/;" \
>> ${TAGS} && \