Print this page
3395 add /etc/profile.d and /etc/.login.d

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/nsadmin/Makefile
          +++ new/usr/src/cmd/nsadmin/Makefile
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  PROG= profile .login ksh.kshrc system
  27   27  PROGSKEL= local.login local.profile local.cshrc .profile
  28   28  PROGROOT= .profile .bashrc
  29   29  
  30   30  include ../Makefile.cmd
  31   31  
  32   32  ROOTROOT= $(ROOT)/root
       33 +ROOTETCCSH= $(ROOTETC)/csh
       34 +ROOTETCCSHLOGIND= $(ROOTETC)/csh/login.d
       35 +ROOTETCPROFILED= $(ROOTETC)/profile.d
  33   36  ROOTETCSKEL= $(ROOTETC)/skel
  34   37  ROOTETCSKELPROG= $(PROGSKEL:%=$(ROOTETCSKEL)/%)
  35   38  ROOTROOTPROG= $(PROGROOT:%=$(ROOTROOT)/%)
  36   39  FILEMODE= 0644
  37   40  
  38   41  CLOBBERFILES = profile .bashrc .profile .login
  39   42  
  40   43  .login: login.csh
  41   44          $(RM) .login; 
  42   45          $(CP) login.csh .login
↓ open down ↓ 12 lines elided ↑ open up ↑
  55   58  
  56   59  .KEEP_STATE:
  57   60  
  58   61  all: $(PROG) $(PROGSKEL)
  59   62  
  60   63  $(ROOTROOT)/% \
  61   64  $(ROOTETCSKEL)/%: %
  62   65          $(INS.file)
  63   66  
  64   67  $(ROOTROOT) \
       68 +$(ROOTETCCSH) \
       69 +$(ROOTETCCSHLOGIND) \
       70 +$(ROOTETCPROFILED) \
  65   71  $(ROOTETCSKEL):
  66   72          $(INS.dir)
  67   73  
  68      -install: all $(ROOTETCSKEL) $(ROOTETCPROG) $(ROOTETCSKELPROG) $(ROOTROOTPROG)
       74 +install: all $(ROOTETCCSH) $(ROOTETCCSHLOGIND)  $(ROOTETCPROFILED) $(ROOTETCSKEL) $(ROOTETCPROG) $(ROOTETCSKELPROG) $(ROOTROOTPROG)
  69   75  
  70   76  clean:
  71   77  
  72   78  clobber:
  73   79          $(RM) $(CLOBBERFILES)
  74   80  
  75   81  lint:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX