summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv/Makefile.yp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypserv/Makefile.yp')
-rw-r--r--usr.sbin/ypserv/Makefile.yp6
1 files changed, 3 insertions, 3 deletions
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) $@
OpenPOWER on IntegriCloud