From owner-freebsd-bugs Wed Jan 1 16: 0:23 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8895F37B405 for ; Wed, 1 Jan 2003 16:00:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D526B43ED4 for ; Wed, 1 Jan 2003 16:00:18 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0200INS008612 for ; Wed, 1 Jan 2003 16:00:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0200IcZ008611; Wed, 1 Jan 2003 16:00:18 -0800 (PST) Date: Wed, 1 Jan 2003 16:00:18 -0800 (PST) Message-Id: <200301020000.h0200IcZ008611@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Lyndon Nerenberg {VE6BBM} Subject: Re: bin/46676: [PATCH] bsd.dep.mk restricts domain of tags commands Reply-To: Lyndon Nerenberg {VE6BBM} Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/46676; it has been noted by GNATS. From: Lyndon Nerenberg {VE6BBM} To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: bin/46676: [PATCH] bsd.dep.mk restricts domain of tags commands Date: Wed, 01 Jan 2003 16:52:28 -0700 Sorry folks, the second half of the patch got chopped. Here it is again. Index: bsd.dep.mk =================================================================== RCS file: /home/ncvs/src/share/mk/bsd.dep.mk,v retrieving revision 1.38 diff -u -r1.38 bsd.dep.mk --- bsd.dep.mk 2002/10/17 13:48:13 1.38 +++ bsd.dep.mk 2003/01/01 23:50:42 @@ -56,14 +56,14 @@ # Keep `tags' here, before SRCS are mangled below for `depend'. .if !target(tags) && defined(SRCS) && !defined(NOTAGS) tags: ${SRCS} -.if ${CTAGS:T} == "ctags" - @${CTAGS} ${CTAGSFLAGS} -f /dev/stdout \ - ${.ALLSRC:N*.h} | sed "s;${.CURDIR}/;;" > ${.TARGET} -.elif ${CTAGS:T} == "gtags" +.if ${CTAGS:T} == "gtags" @cd ${.CURDIR} && ${CTAGS} ${GTAGSFLAGS} ${.OBJDIR} .if defined(HTML) @cd ${.CURDIR} && htags ${HTAGSFLAGS} -d ${.OBJDIR} ${.OBJDIR} .endif +.else + @${CTAGS} ${CTAGSFLAGS} -f /dev/stdout \ + ${.ALLSRC:N*.h} | sed "s;${.CURDIR}/;;" > ${.TARGET} .endif .endif @@ -160,13 +160,13 @@ .if !target(cleandepend) cleandepend: .if defined(SRCS) -.if ${CTAGS:T} == "ctags" - rm -f ${DEPENDFILE} tags -.elif ${CTAGS:T} == "gtags" +.if ${CTAGS:T} == "gtags" rm -f ${DEPENDFILE} GPATH GRTAGS GSYMS GTAGS .if defined(HTML) rm -rf HTML .endif +.else + rm -f ${DEPENDFILE} tags .endif .endif .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message