Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/openresolv/sbin/resolvconf Install our shell su...



details:   https://anonhg.NetBSD.org/src/rev/ccb5773aacd9
branches:  trunk
changeset: 749616:ccb5773aacd9
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Dec 04 14:44:57 2009 +0000

description:
Install our shell subscribers as normal files

diffstat:

 external/bsd/openresolv/sbin/resolvconf/Makefile |  16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 40f2142de9c3 -r ccb5773aacd9 external/bsd/openresolv/sbin/resolvconf/Makefile
--- a/external/bsd/openresolv/sbin/resolvconf/Makefile  Fri Dec 04 14:30:01 2009 +0000
+++ b/external/bsd/openresolv/sbin/resolvconf/Makefile  Fri Dec 04 14:44:57 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/12/03 10:28:37 roy Exp $
+# $NetBSD: Makefile,v 1.3 2009/12/04 14:44:57 roy Exp $
 #
 
 .include <bsd.own.mk>
@@ -7,19 +7,23 @@
 .PATH:         ${DIST} 
 
 SCRIPTS=       resolvconf
-SCRIPTS+=      libc dnsmasq named unbound
+SCRIPTSDIR=    /sbin
 
-SCRIPTSDIR_resolvconf= /sbin
-SCRIPTSDIR=    /libexec/resolvconf
+FILES=         libc dnsmasq named unbound
+FILESDIR=      /libexec/resolvconf
+# We should not have to do this ...
+.for f in ${FILES}
+FILESBUILD_$f= yes
+.endfor
 
 MAN=           resolvconf.conf.5 resolvconf.8
 
-CLEANFILES=    ${SCRIPTS} ${MAN}
+CLEANFILES=    ${SCRIPTS} ${FILES} ${MAN}
 
 CMD1=          \1 status >/dev/null 2>\&1
 CMD2=          \1 restart
 RESTARTCMD=    /etc/rc.d/${CMD1} \&\& /etc/rc.d/${CMD2}
-.for f in ${SCRIPTS} ${MAN}
+.for f in ${SCRIPTS} ${FILES} ${MAN}
 ${f}:  ${f}.in
        ${TOOL_SED} -e 's:@PREFIX@::g' \
                -e 's:@SYSCONFDIR@:/etc:g' \



Home | Main Index | Thread Index | Old Index