Print this page
12471 /usr/share/terminfo compatibility symlink

Split Close
Expand all
Collapse all
          --- old/usr/src/data/terminfo/Makefile
          +++ new/usr/src/data/terminfo/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  
  53   53  ROOTTABDIR=     $(ROOTSHLIB)/tabset
  54   54  ROOTTERMDIR=    $(ROOTSHLIB)/terminfo
  55   55  DIRS=           $(ROOTTERMDIR) $(ROOTTABDIR)
  56   56  
  57   57  ROOTSYMLINK=    $(ROOTETC)/termcap
  58   58  RELROOTETC=     ../usr/share/lib
  59   59  ROOTLIBSYMLINK= $(ROOTLIB)/tabset
  60   60  RELROOTLIB=     ../share/lib
  61   61  
       62 +ROOTSHSYMLINK=  $(ROOTSH)/terminfo
       63 +
  62   64  ROOTTABSET=     $(TABSETSRC:%=$(ROOTTABDIR)/%)
  63   65  
  64   66  ROOTEXTRATI=    $(EXTRATI:%=$(ROOTTERMDIR)/%)
  65   67  
  66   68  $(ROOTTABDIR)/%: tabset/%
  67   69                  $(INS.file)
  68   70  
  69   71  .KEEP_STATE:
  70   72  
  71   73  all:            $(TERMCAPSRC) $(TERMINFOSRC)
↓ open down ↓ 3 lines elided ↑ open up ↑
  75   77  
  76   78  $(ROOTTERMDIR)/s/sun: $(TERMINFOSRC)
  77   79                  TERMINFO=$(ROOTTERMDIR) $(TIC) $(TERMINFOSRC) 2>/dev/null
  78   80  
  79   81  $(ROOTSHLIB)/termcap: $(TERMCAPSRC) $(EXTRATC)
  80   82                  echo $(EXTRATERM) $(EXTRATC)
  81   83                  $(EGREP) -hv '^(#|$$)' $(TERMCAPSRC) $(EXTRATC) > $@
  82   84  
  83   85  install:        all $(ROOTTERMDIR) $(ROOTTERMDIR)/s/sun $(ROOTTABDIR) \
  84   86                  $(ROOTTABSET) $(ROOTSHLIB)/termcap  $(ROOTSYMLINK) \
  85      -                $(ROOTLIBSYMLINK) $(ROOTEXTRATI)
       87 +                $(ROOTLIBSYMLINK) $(ROOTEXTRATI) $(ROOTSHSYMLINK)
  86   88  
  87   89  $(ROOTSYMLINK):
  88   90                  $(RM) $@; $(SYMLINK) $(RELROOTETC)/termcap $@
  89   91  
  90   92  $(ROOTLIBSYMLINK):
  91   93                  $(RM) $@; $(SYMLINK) $(RELROOTLIB)/tabset $@
  92   94  
       95 +$(ROOTSHSYMLINK):
       96 +                $(RM) $@; $(SYMLINK) $(RELROOTLIB)/terminfo $@
       97 +
  93   98  $(ROOTTERMDIR)/r/%: extras/%.terminfo
  94   99                  TERMINFO=$(ROOTTERMDIR) $(TIC) $< 2>/dev/null
  95  100  
  96  101  clean clobber:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX