Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src make the "tags" target non-.PHONY because it reflects a real...
details: https://anonhg.NetBSD.org/src/rev/5dd8890fb111
branches: trunk
changeset: 765453:5dd8890fb111
user: drochner <drochner%NetBSD.org@localhost>
date: Fri May 27 17:06:54 2011 +0000
description:
make the "tags" target non-.PHONY because it reflects a real file,
and remove some nonsense in libc Makefile which caused that
a "tags" file was written in my source tree
diffstat:
lib/libc/Makefile | 7 +++----
share/mk/bsd.own.mk | 4 ++--
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r 48e5d95626ba -r 5dd8890fb111 lib/libc/Makefile
--- a/lib/libc/Makefile Fri May 27 15:43:00 2011 +0000
+++ b/lib/libc/Makefile Fri May 27 17:06:54 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.144 2011/03/09 23:10:06 joerg Exp $
+# $NetBSD: Makefile,v 1.145 2011/05/27 17:06:55 drochner Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94
#
# All library objects contain sccsid strings by default; they may be
@@ -123,15 +123,14 @@
no.msg pl.msg sk.msg sv.msg
realall: tags
-tags: ${.OBJDIR}/tags
-${.OBJDIR}/tags: ${SRCS}
+tags: ${SRCS}
${_MKTARGET_CREATE}
-${TOOL_CTAGS} -w ${.ALLSRC:M*.c}
-egrep "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /dev/null ${.ALLSRC:M*.S} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${.TARGET}; sort -o ${.TARGET} ${.TARGET}
-FILES= ${.OBJDIR}/tags
+FILES= tags
FILESNAME= libc.tags
FILESDIR= /var/db
diff -r 48e5d95626ba -r 5dd8890fb111 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Fri May 27 15:43:00 2011 +0000
+++ b/share/mk/bsd.own.mk Fri May 27 17:06:54 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.668 2011/05/20 16:02:23 plunky Exp $
+# $NetBSD: bsd.own.mk,v 1.669 2011/05/27 17:06:54 drochner Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -653,7 +653,7 @@
TARGETS+= all clean cleandir depend dependall includes \
install lint obj regress tags html
PHONY_NOTMAIN = all clean cleandir depend dependall distclean includes \
- install lint obj regress tags beforedepend afterdepend \
+ install lint obj regress beforedepend afterdepend \
beforeinstall afterinstall realinstall realdepend realall \
html subdir-all subdir-install subdir-depend
.PHONY: ${PHONY_NOTMAIN}
Home |
Main Index |
Thread Index |
Old Index