Print this page
6864993 HA-xVM validate messages need to be wrapped by gettext

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ha-services/gds-agents/xvm/Makefile
          +++ new/usr/src/cmd/ha-services/gds-agents/xvm/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  #
  29   29  
  30   30  sparc_SUBDIRS = lib
  31   31  i386_SUBDIRS =
  32   32  
  33   33  SUBDIRS = $($(MACH)_SUBDIRS)
  34   34  
  35   35  include $(SRC)/Makefile.subdirs
  36   36  
  37   37  # list common shell scripts for $(PKGNAME)/bin
  38      -KSH_BIN_SRCS =  control_xvm.ksh \
       38 +KSH_SRCS =      control_xvm.ksh \
  39   39                  functions.ksh \
  40   40                  validate_xvm.ksh \
  41   41                  init_xvm.ksh \
  42   42                  ldm_migrate.ksh \
  43   43                  ppkssh.ksh
  44   44  
  45      -PROG = $(KSH_BIN_SRCS:%.ksh=%)
       45 +PROG = $(KSH_SRCS:%.ksh=%)
  46   46  
  47   47  include $(SRC)/cmd/Makefile.cmd
  48   48  
  49   49  # Packaging
  50   50  PKGNAME = SUNWscxvm
  51   51  RTRFILE = SUNW.xvm SUNW.ldom    
  52   52  
  53      -# Disable I18N stuff, the po filename needs to be unique to support parallel
  54      -# builds of the agents below gds-agents
  55      -POFILE= $(PKGNAME).po
  56      -PIFILES=
       53 +TEXT_DOMAIN = SUNW_SC_XVM 
  57   54  
       55 +MESSAGE_DIR = /opt/$(PKGNAME)/lib/locale
       56 +POFILE = xvm.po
       57 +PIFILES = $(KSH_SRCS:%.ksh=%.pi)
       58 +
  58   59  # Disable lint
  59   60  LINTFILES=
  60   61  
  61   62  .KEEP_STATE:
  62   63  
  63   64  all: $(PROG)
  64   65  
  65   66  .PARALLEL: $(PROG)
  66   67  
  67   68  install: all $(ROOTOPTBINPROG) $(ROOTOPTETCRTR)
  68   69  
  69   70  clean:
  70   71          $(RM) $(PROG)
  71   72  
  72   73  include $(SRC)/cmd/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX