Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/rtadvd Don't install the example config if MKSHARE=no.



details:   https://anonhg.NetBSD.org/src/rev/8b89cea5a273
branches:  trunk
changeset: 509928:8b89cea5a273
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue May 15 17:05:54 2001 +0000

description:
Don't install the example config if MKSHARE=no.

diffstat:

 usr.sbin/rtadvd/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6866ab5a1e50 -r 8b89cea5a273 usr.sbin/rtadvd/Makefile
--- a/usr.sbin/rtadvd/Makefile  Tue May 15 16:15:22 2001 +0000
+++ b/usr.sbin/rtadvd/Makefile  Tue May 15 17:05:54 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/01/21 15:01:37 itojun Exp $
+# $NetBSD: Makefile,v 1.5 2001/05/15 17:05:54 kleink Exp $
 
 PROG=  rtadvd
 SRCS=  rtadvd.c rrenum.c advcap.c if.c config.c timer.c dump.c
@@ -8,7 +8,9 @@
 LDADD+=        -lcompat
 DPADD+=        ${LIBCOMPAT}
 
+.if ${MKSHARE} != "no"
 FILESDIR=      /usr/share/examples/rtadvd
 FILES= rtadvd.conf
+.endif
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index