Module Name:    src
Committed By:   drochner
Date:           Fri May 27 17:06:55 UTC 2011

Modified Files:
        src/lib/libc: Makefile
        src/share/mk: bsd.own.mk

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/lib/libc/Makefile
cvs rdiff -u -r1.668 -r1.669 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/Makefile
diff -u src/lib/libc/Makefile:1.144 src/lib/libc/Makefile:1.145
--- src/lib/libc/Makefile:1.144	Wed Mar  9 23:10:06 2011
+++ src/lib/libc/Makefile	Fri May 27 17:06:55 2011
@@ -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
 

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.668 src/share/mk/bsd.own.mk:1.669
--- src/share/mk/bsd.own.mk:1.668	Fri May 20 16:02:23 2011
+++ src/share/mk/bsd.own.mk	Fri May 27 17:06:54 2011
@@ -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}

Reply via email to