diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1998-06-09 19:29:47 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1998-06-09 19:29:47 +0000 |
commit | abf2d39af031342267050c03710bc8ada7833af8 (patch) | |
tree | 657b57abeb564e8f2742a6b953584f40c4119d20 | |
parent | 33732b2d4d37a19c85dc182704dbba100f1b93be (diff) |
Add CTAGS, with a full pathname, and use it.
-rw-r--r-- | share/mk/bsd.dep.mk | 4 | ||||
-rw-r--r-- | share/mk/sys.mk | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index af22772e367..7ad84b4462a 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.dep.mk,v 1.3 1996/03/05 11:12:37 mickey Exp $ +# $OpenBSD: bsd.dep.mk,v 1.4 1998/06/09 19:29:45 downsj Exp $ # $NetBSD: bsd.dep.mk,v 1.12 1995/09/27 01:15:09 christos Exp $ # some of the rules involve .h sources, so remove them from mkdep line @@ -36,7 +36,7 @@ afterdepend: .if !target(tags) .if defined(SRCS) tags: ${SRCS} _SUBDIRUSE - -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:N*.h} | \ + -cd ${.CURDIR}; ${CTAGS} -f /dev/stdout ${.ALLSRC:N*.h} | \ sed "s;\${.CURDIR}/;;" > tags .else tags: diff --git a/share/mk/sys.mk b/share/mk/sys.mk index f4cec0e3e33..4ba33f1baad 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -1,4 +1,4 @@ -# $OpenBSD: sys.mk,v 1.15 1998/05/14 16:31:39 millert Exp $ +# $OpenBSD: sys.mk,v 1.16 1998/06/09 19:29:46 downsj Exp $ # $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $ # @(#)sys.mk 5.11 (Berkeley) 3/13/91 @@ -80,6 +80,8 @@ YACC.y?= ${YACC} ${YFLAGS} INSTALL?= install +CTAGS?= /usr/bin/ctags + # C .c: ${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS} |