2 # RC Makefile for ypinit scripts on Rhapsody.
4 # $Id: Makefile,v 1.2 2002/03/13 02:08:08 bbraun Exp $
7 VARYP=$(DSTROOT)/private/var/yp
8 USRSBIN=$(DSTROOT)/usr/sbin
12 .PHONY: all install installhdrs installsrc build clean recurse
23 @echo "Building $(PROJECT)..."
26 -mkdir -p $(SRCROOT)$(SRCPATH)
27 cp Makefile Makefile.yp Makefile.main ypinit.sh ypinit.8 $(SRCROOT)$(SRCPATH)
33 install: install_makefiles install_binaries
37 install -c -m 644 Makefile.yp $(VARYP)
38 -chown root.wheel $(VARYP)/Makefile.yp
39 install -c -m 644 Makefile.main $(VARYP)
40 -chown root.wheel $(VARYP)/Makefile.main
44 install -c -m 755 ypinit.sh $(USRSBIN)
45 -chown root.wheel $(USRSBIN)/ypinit
46 -mkdir -p "$(DSTROOT)/usr/share/man/man8"
47 install -c -m 644 ypinit.8 "$(DSTROOT)/usr/share/man/man8/ypinit.sh.8"