Jen 5-3906 Mike 5-1234 Dave 5-2345 |
TELEPHONES = $(YPSRCDIR)/telephones |
ALL = passwd group netgrp telephones |
telephones: $(TELEPHONES) $(YPDIR)/Makefile
@echo "Updating $@..."
@$(AWK) '{ print $$1"\t"$$0 }' $(TELEPHONES) | $(DBLOAD) \
-r -i $(TELEPHONES) -o $(YPMAPDIR)/$@ - $@
-@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
|
cd /var/yp; make |
ypcat telephones |