]> git.saurik.com Git - apple/system_cmds.git/blobdiff - chpass.tproj/Makefile.postamble
system_cmds-258.tar.gz
[apple/system_cmds.git] / chpass.tproj / Makefile.postamble
index 7b6db99b0aa31f60c7b0fccaa6adb06dae47b492..26305824867197138f9e3397563b2b4a95f1b731 100644 (file)
@@ -1,9 +1,19 @@
 VPATH += :../pwd_mkdb.tproj:../vipw.tproj
 
 INSTALL_AS_USER =      root
+INSTALL_AS_GROUP =     wheel
 INSTALL_PERMISSIONS =4555
 #CHFLAGS = /usr/bin/chflags
 after_install::
+       install -o $(INSTALL_AS_USER) -m 755 -d $(DSTROOT)/usr/share/man/man1
+       install -o $(INSTALL_AS_USER) -m 644 -c chpass.1 \
+               $(DSTROOT)/usr/share/man/man1
+       $(LN) -s chpass.1 $(DSTROOT)/usr/share/man/man1/chfn.1
+       $(LN) -s chpass.1 $(DSTROOT)/usr/share/man/man1/chsh.1
+       chown $(INSTALL_AS_USER):$(INSTALL_AS_GROUP) \
+               $(DSTROOT)/usr/share/man/man1/chfn.1
+       chown $(INSTALL_AS_USER):$(INSTALL_AS_GROUP) \
+               $(DSTROOT)/usr/share/man/man1/chsh.1
        $(LN) -f $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/chfn
        $(LN) -f $(INSTALLED_PRODUCTS) $(DSTROOT)$(INSTALLDIR)/chsh
 #      $(CHFLAGS) schg $(DSTROOT)$(INSTALLDIR)/$(NAME)