/[cmucl]/src/lisp/GNUmakefile
ViewVC logotype

Diff of /src/lisp/GNUmakefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33 by agoncharov, Tue Jan 20 04:52:47 2009 UTC revision 1.33.14.3 by rtoy, Fri Feb 12 22:21:23 2010 UTC
# Line 1  Line 1 
1  # $Header$  # $Header$
2    
3  all: lisp.nm  all: lisp.nm translations
4    
5  -include internals.inc  -include internals.inc
6  include Config  include Config
# Line 59  Depends: ${SRCS} Line 59  Depends: ${SRCS}
59          mv ,depends Depends          mv ,depends Depends
60    
61  -include Depends  -include Depends
62    
63    # Find all directories in ../i18n/locale.  These are the locales we
64    # currently support.
65    
66    # This would be a nice way to do it so we don't have to keep track of
67    # the directories, but Solaris' find doesn't grok -depth 1
68    #LOCALES=$(patsubst ../i18n/locale/%, %, $(shell find ../i18n/locale -type d -depth 1))
69    LOCALES=en@piglatin ko
70    
71    # Convert locale names to the appropriate path where we want the mo files to go.
72    LOCALE_MO=$(patsubst %, ../i18n/locale/%/LC_MESSAGES/cmucl.mo, $(LOCALES))
73    
74    translations: $(LOCALE_MO)
75    
76    .PHONY : translations
77    
78    # Create the mo files
79    ../i18n/locale/%/LC_MESSAGES/cmucl.mo : ../../src/i18n/locale/%/LC_MESSAGES/cmucl.po
80            -msgfmt -v $^ -o $@
81    
82    # Update the translations with the template
83    ../../src/i18n/locale/%/LC_MESSAGES/cmucl.po : ../../src/i18n/locale/cmucl.pot
84            msgmerge -v $@ $^ -o $@
85    

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.33.14.3

  ViewVC Help
Powered by ViewVC 1.1.5