From fe6e694b6b83f8b30d31c374b263b7122c65ccf3 Mon Sep 17 00:00:00 2001 From: eivind Date: Thu, 26 Mar 1998 16:02:44 +0000 Subject: Remove special handling of 'tags' for complex subdir systems (presently only used in tip; should have been used by e.g. pkg_add). Submitted by: bde --- share/mk/bsd.subdir.mk | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) (limited to 'share/mk') diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk index 9f49734..8ca237f 100644 --- a/share/mk/bsd.subdir.mk +++ b/share/mk/bsd.subdir.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 -# $Id: bsd.subdir.mk,v 1.20 1998/03/12 20:02:17 eivind Exp $ +# $Id: bsd.subdir.mk,v 1.21 1998/03/23 14:58:29 eivind Exp $ # # The include file contains the default targets # for building subdirectories. It has the same seven targets @@ -28,7 +28,7 @@ # # afterdistribute, afterinstall, all, beforeinstall, checkdpadd, # clean, cleandepend, cleandir, depend, install, lint, maninstall, -# obj, objlink, realinstall, tags +# obj, objlink, realinstall, regress, tags # @@ -57,35 +57,13 @@ ${SUBDIR}:: ${MAKE} all -.for __target in all checkdpadd clean cleandir depend lint \ - maninstall obj objlink regress +.for __target in all checkdpadd clean cleandepend cleandir depend lint \ + maninstall obj objlink regress tags .if !target(${__target}) ${__target}: _SUBDIRUSE .endif .endfor -.if !target(tags) -.if defined(TAGS) -tags: - @cd ${.CURDIR} && gtags ${GTAGSFLAGS} ${.OBJDIR} -.if defined(HTML) - @cd ${.CURDIR} && htags ${HTAGSFLAGS} -d ${.OBJDIR} ${.OBJDIR} -.endif -.else -tags: _SUBDIRUSE -.endif -.endif - -.if !defined(cleandepend) -cleandepend: _SUBDIRUSE -.if defined(TAGS) - @rm -f ${.OBJDIR}/GTAGS ${.OBJDIR}/GRTAGS ${.OBJDIR}/GSYMS -.if defined(HTML) - @rm -rf ${.OBJDIR}/HTML -.endif -.endif -.endif - .if !target(install) .if !target(beforeinstall) beforeinstall: -- cgit v1.1