summaryrefslogtreecommitdiffstats
path: root/gnu/usr.sbin/ypserv/Makefile.yp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/ypserv/Makefile.yp')
-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 4bcf95a..70e8c48 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
OpenPOWER on IntegriCloud