Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/libsa Don't make the machine symlinks f...



details:   https://anonhg.NetBSD.org/src/rev/61df451cb9ed
branches:  trunk
changeset: 526534:61df451cb9ed
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun May 05 15:30:05 2002 +0000

description:
Don't make the machine symlinks for 'cleandir' target either. This
should fix read-only source builds.

XXX Perhaps the condition should be changed to
XXX .if make(depend) || make(all) || make(dependall)
XXX similarily to bsd.kmod.mk?

diffstat:

 sys/arch/atari/stand/libsa/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 080412f71b31 -r 61df451cb9ed sys/arch/atari/stand/libsa/Makefile
--- a/sys/arch/atari/stand/libsa/Makefile       Sun May 05 15:23:22 2002 +0000
+++ b/sys/arch/atari/stand/libsa/Makefile       Sun May 05 15:30:05 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2002/04/08 17:25:54 bjh21 Exp $
+#      $NetBSD: Makefile,v 1.16 2002/05/05 15:30:05 jdolecek Exp $
 
 LIB=   sa
 
@@ -50,7 +50,7 @@
 
 .PATH:  ${S_SA} ${S_KERN}
 
-.if !make(obj)
+.if !make(obj) && !make(cleandir)
 .BEGIN:
        @([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
        @([ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH})



Home | Main Index | Thread Index | Old Index