1 --- Makefile.old 2005-03-17 18:40:44.570660984 -0800
2 +++ Makefile 2005-03-17 18:41:04.779588760 -0800
4 #ALL += amd.home auto.master auto.home auto.local
5 #ALL += timezone locale networks netmasks
6 ALL += auto.master auto.home amd.home
9 # Autodetect /etc/shadow if it's there
10 ifneq ($(wildcard $(SHADOW)),)
12 timezone: timezone.byname
14 netmasks: netmasks.byaddr
15 +master.passwd: master.passwd.byname
17 ypservers: $(YPSERVERS) $(YPDIR)/Makefile
18 @echo "Updating $@..."
20 -@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
23 +master.passwd.byname: $(PASSWD) $(SHADOW) $(YPDIR)/Makefile
24 + @echo "Updating $@..."
26 + ../master-passwd.pl /etc/passwd /etc/shadow | \
27 + $(AWK) -F: '!/^[-+#]/ { if ($$1 != "" && $$3 >= $(MINUID) && $$3 != $(NFSNOBODYUID) ) \
28 + print $$1"\t"$$0 }' | \
29 + $(DBLOAD) -i /etc/master.passwd -o $(YPMAPDIR)/$@ - $@
30 + -@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
32 passwd.adjunct.byname: $(ADJUNCT) $(YPDIR)/Makefile
33 @echo "Updating $@..."