#ident	"@(#)ypcmd:net_files/updaters	1.2.7.1"
#ident  "$Header: updaters 1.3 91/09/20 $"

#       Update file for yellow pages
SHELL=/bin/sh
# where the yp files live
DIR=/etc
# where the yp binaries live
EXEDIR=/usr/sbin

# ypbuild is used instead of the regular make command
# because /usr/ccs/bin/make cannot inherit privileges 
# in Enhanced Security environment.

publickey.byname:
	-@$(EXEDIR)/udpublickey $(DIR)/publickey  "/var/yp/ypbuild MAKE=/var/yp/ypbuild SHELL=/sbin/sh publickey"; \
	echo $$?
