diff options
author | eivind <eivind@FreeBSD.org> | 1998-03-26 16:02:44 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-03-26 16:02:44 +0000 |
commit | fe6e694b6b83f8b30d31c374b263b7122c65ccf3 (patch) | |
tree | 3d98b1d6b01526a4fa2d344ca1cf1c0dad9489b8 /share | |
parent | 821e00d70f1bb8d5d52ecba7b736b3ebfedde3ef (diff) | |
download | FreeBSD-src-fe6e694b6b83f8b30d31c374b263b7122c65ccf3.zip FreeBSD-src-fe6e694b6b83f8b30d31c374b263b7122c65ccf3.tar.gz |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.subdir.mk | 30 |
1 files changed, 4 insertions, 26 deletions
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 <bsd.subdir.mk> 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: |