The file called Makefile in /var/yp is used by make(1)
to build the Network Information Service (NIS) database.
With no arguments, make creates dbm
databases for any NIS maps that are out-of-date,
and then executes yppush(1M) to
notify slave databases that there has been a change.
If you supply a map on the command line, make will update that map only. Typing make passwd
will create and yppush the password database (assuming
it is out of date). Likewise, make ipnodes and make networks will create and yppush the ipnodes
and network files, $(INETDIR)/ipnodes and $(DIR)/networks.
There are four special variables used by make: DIR, which gives the directory of the source files; NOPUSH, which when non-null inhibits doing a yppush of the new database files; INETDIR,
which gives the directory of the ipnodes source file; and DOM, which is used to construct a domain other than the master's
default domain. The default for DIR is /etc, and the default for INETDIR is /etc/inet. The default for NOPUSH
is the null string.
Refer to ypfiles(4)
and ypserv(1M) for an overview of the NIS service.
|