summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-04-13 06:44:25 +0000
committerjkh <jkh@FreeBSD.org>1997-04-13 06:44:25 +0000
commit1b2fdd568d73be2c650ec6f1df32ef2809520373 (patch)
treee17044ea699348150ba3b5d5c51deaa68b3e4190 /sys
parent376c4fd174b93c6dc5547687925eddced146cb77 (diff)
downloadFreeBSD-src-1b2fdd568d73be2c650ec6f1df32ef2809520373.zip
FreeBSD-src-1b2fdd568d73be2c650ec6f1df32ef2809520373.tar.gz
Support GLOBAL style tags.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index d209cc1..b1d9773 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id$
+# $Id: bsd.kmod.mk,v 1.30 1997/02/22 13:56:10 peter Exp $
#
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
# <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists,
@@ -185,11 +185,17 @@ distribute: _SUBDIR
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${DISTRIBUTION} SHARED=copies
.endif
+.if defined(NOTAGS)
+tags:
+.endif
+
.if !target(tags)
tags: ${SRCS} _SUBDIR
.if defined(PROG)
- -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC} | \
- sed "s;\${.CURDIR}/;;" > tags
+ @cd ${.CURDIR} && gtags ${GTAGSFLAGS}
+.if defined(HTML)
+ @cd ${.CURDIR} && htags ${HTAGSFLAGS}
+.endif
.endif
.endif
OpenPOWER on IntegriCloud