aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-04-13 13:03:35 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-04-13 13:03:35 +0000
commitf2a3dfe5ff2dd3b9d5822834874944c49bffee87 (patch)
treedbd8416a35ef4573b6b731f6417f8f076d5ca806 /usr.sbin/ypserv
parente4a9274404b7057f5b3c0a91b1c332eed328b7a3 (diff)
downloadsrc-f2a3dfe5ff2dd3b9d5822834874944c49bffee87.tar.gz
src-f2a3dfe5ff2dd3b9d5822834874944c49bffee87.zip
Notes
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/Makefile.yp9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/ypserv/Makefile.yp b/usr.sbin/ypserv/Makefile.yp
index 0cb8a21d1ed8..537eeaaca3ca 100644
--- a/usr.sbin/ypserv/Makefile.yp
+++ b/usr.sbin/ypserv/Makefile.yp
@@ -300,7 +300,6 @@ netgroup: $(NETGROUP) netgroup.byhost netgroup.byuser
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
.endif
@@ -342,7 +341,6 @@ hosts.byname: $(HOSTS)
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
hosts.byaddr: $(HOSTS)
@@ -353,7 +351,6 @@ hosts.byaddr: $(HOSTS)
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
ipnodes.byname: $(IPNODES)
@@ -367,7 +364,6 @@ ipnodes.byname: $(IPNODES)
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
.endif
@@ -382,7 +378,6 @@ ipnodes.byaddr: $(IPNODES)
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
.endif
@@ -528,7 +523,6 @@ passwd.byuid: $(PASSWD)
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
group.byname: $(GROUP)
@@ -551,10 +545,9 @@ group.bygid: $(GROUP)
@$(DBLOAD) -c
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
- @$(MAKE) -f ../Makefile netid
-netid.byname: $(GROUP) $(PASSWD)
+netid.byname: $(GROUP) $(PASSWD) $(HOSTS)
@echo "Updating $@..."
@$(MKNETID) -q -p $(PASSWD) -g $(GROUP) -h $(HOSTS) -n $(NETID) \
-d $(DOMAIN) | $(DBLOAD) -o $(YPMAPDIR)/$@ - $(TMP); \