From 8f656b769ac8e8a1df21eaa548ac6fb883bbd878 Mon Sep 17 00:00:00 2001 From: wpaul Date: Sun, 9 Feb 1997 19:19:14 +0000 Subject: Two small tweaks: - servers should be the first target listed in 'all:' in order for slave servers to be updated correctly: yppush reads the ypservers map to figure out where all the slaves are, so it needs to be loaded onto the master ASAP. - Fixed small bogon in publickey target which nobody has noticed since we're not using the publickey.byname map yet. --- usr.sbin/ypserv/Makefile.yp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ypserv') diff --git a/usr.sbin/ypserv/Makefile.yp b/usr.sbin/ypserv/Makefile.yp index b75d23d..b3e855c 100644 --- a/usr.sbin/ypserv/Makefile.yp +++ b/usr.sbin/ypserv/Makefile.yp @@ -128,8 +128,8 @@ target: # on all systems. # -all: master.passwd passwd hosts group networks protocols rpc \ - services servers netid +all: servers master.passwd passwd hosts group networks protocols rpc \ + services netid # aliases publickey netgrp ethers bootparam amd.host ethers: ethers.byname ethers.byaddr @@ -395,7 +395,7 @@ services.byname: $(SERVICES) publickey.byname: $(PUBLICKEY) @echo "Updating $@..." @echo $@.$$$$ > $(NFILE) - $(TMP) = `$(RCAT) $(NFILE)` + $(CAT) $(PUBLICKEY) | \ $(AWK) '$$1 !~ "#" { print $$1"\t"$$2 }' $^ \ | $(DBLOAD) -i $(PUBLICKEY) -o $(YPMAPDIR)/$@ - $(TMP) @$(MV) $(TMP) $@ -- cgit v1.1