summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1995-08-11 13:55:42 +0000
committerBill Paul <wpaul@FreeBSD.org>1995-08-11 13:55:42 +0000
commit82b7305d308e6ab941c106da5af971436b7ec5ae (patch)
treed35e116c5e1d72e65a61638ad75d324061a59f9b /gnu/usr.sbin
parent5a5088f18324d45945d64901e96194427709ee9c (diff)
Notes
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/ypserv/Makefile.yp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.sbin/ypserv/Makefile.yp b/gnu/usr.sbin/ypserv/Makefile.yp
index 4bcf95aba206..70e8c48b5a6e 100644
--- a/gnu/usr.sbin/ypserv/Makefile.yp
+++ b/gnu/usr.sbin/ypserv/Makefile.yp
@@ -1,7 +1,7 @@
#
# Makefile for the NIS databases
#
-# $Id: Makefile.yp,v 1.8 1995/06/18 16:08:15 wpaul Exp $
+# $Id: Makefile.yp,v 1.9 1995/07/19 17:44:05 wpaul Exp $
#
# This Makefile should only be run on the NIS master server of a domain.
# All updated maps will be pushed to all NIS slave servers listed in the
@@ -42,11 +42,11 @@ CAT = @$(RCAT)
DBLOAD = /usr/sbin/yp_mkdb -m `hostname`
MKNETID = /usr/libexec/mknetid
YPPUSH = /usr/bin/yppush
-DOMAINNAME = `/bin/domainname`
+DOMAIN = `/bin/domainname`
YPSRCDIR = /etc
YPDIR = /var/yp
-YPMAPDIR = $(YPDIR)/$(DOMAINNAME)
+YPMAPDIR = $(YPDIR)/$(DOMAIN)
# These are the files from which the NIS databases are built. You may edit
# these to taste in the event that you wish to keep your NIS source files
@@ -87,8 +87,8 @@ MASTER = $(MASTER_PASSWD)
YPSERVERS = $(YPDIR)/ypservers # List of all NIS servers for a domain
target:
- @if [ ! -d $(DOMAINNAME) ]; then mkdir $(DOMAINNAME); fi; \
- cd $(DOMAINNAME) ; echo "NIS Map update started on `date`" ; \
+ @if [ ! -d $(DOMAIN) ]; then mkdir $(DOMAIN); fi; \
+ cd $(DOMAIN) ; echo "NIS Map update started on `date`" ; \
make -f ../Makefile all; echo "NIS Map update completed."
# If you don't want some of these maps built, feel free to comment