diff options
author | Doug Barton <dougb@FreeBSD.org> | 2007-06-18 05:44:38 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2007-06-18 05:44:38 +0000 |
commit | bc998fd6f41d25139302042c00c66fd0f15d9bf5 (patch) | |
tree | 4da8ae99d74d843eb10bc0ea76d48280d3aa3796 /etc/Makefile | |
parent | bb92e059417befd982e96632ddb80148b678169c (diff) | |
download | src-bc998fd6f41d25139302042c00c66fd0f15d9bf5.tar.gz src-bc998fd6f41d25139302042c00c66fd0f15d9bf5.zip |
Add a namedb/master directory for the zone files I'm about to add,
and switch to the more "normal" way of installing files for the
namedb directory so that we can pick up the new subdir.
Notes
Notes:
svn path=/head/; revision=170913
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/etc/Makefile b/etc/Makefile index 5f985178eec6..ffc358208c8a 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -64,11 +64,6 @@ MTREE+= BIND.include.dist .endif .endif -.if ${MK_BIND_ETC} != "no" -NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \ - make-localhost -.endif - PPPCNF= ppp.conf .if ${MK_SENDMAIL} == "no" @@ -135,6 +130,15 @@ distribution: .if ${MK_I4B} != "no" cd ${.CURDIR}/isdn; ${MAKE} install .endif +.if ${MK_BIND_MTREE} != "no" + @if [ ! -e ${DESTDIR}/etc/namedb ]; then \ + set -x; \ + ln -s ../var/named/etc/namedb ${DESTDIR}/etc/namedb; \ + fi +.endif +.if ${MK_BIND_ETC} != "no" + cd ${.CURDIR}/namedb; ${MAKE} install +.endif .if ${MK_SENDMAIL} != "no" cd ${.CURDIR}/sendmail; ${MAKE} distribution .endif @@ -163,16 +167,6 @@ distribution: ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${MTREE} ${DESTDIR}/etc/mtree -.if ${MK_BIND_ETC} != "no" - cd ${.CURDIR}/namedb; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ - ${NAMEDB} ${DESTDIR}/var/named/etc/namedb -.endif -.if ${MK_BIND_MTREE} != "no" - @if [ ! -e ${DESTDIR}/etc/namedb ]; then \ - set -x; \ - ln -s ../var/named/etc/namedb ${DESTDIR}/etc/namedb; \ - fi -.endif cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ ${PPPCNF} ${DESTDIR}/etc/ppp cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ |