Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/share/mk Pull up revision 1.129 (requested by chris):



details:   https://anonhg.NetBSD.org/src/rev/af931e6769bf
branches:  netbsd-1-5
changeset: 491386:af931e6769bf
user:      he <he%NetBSD.org@localhost>
date:      Wed Apr 25 09:53:03 2001 +0000

description:
Pull up revision 1.129 (requested by chris):
  Permit redefinition of ``afterdepend'' target.

diffstat:

 share/mk/bsd.prog.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7ca6da489c3f -r af931e6769bf share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Wed Apr 25 09:52:23 2001 +0000
+++ b/share/mk/bsd.prog.mk      Wed Apr 25 09:53:03 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.117.2.2 2000/10/08 14:53:19 deberg Exp $
+#      $NetBSD: bsd.prog.mk,v 1.117.2.3 2001/04/25 09:53:03 he Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .if !target(__initialized__)
@@ -137,7 +137,7 @@
        rm -f a.out [Ee]rrs mklog core *.core \
            ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}
 
-.if defined(SRCS)
+.if defined(SRCS) && !target(afterdepend)
 afterdepend: .depend
        @(TMP=/tmp/_depend$$$$; \
            sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.ln:/' \



Home | Main Index | Thread Index | Old Index