/[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.16.1 by rtoy, Thu Feb 25 20:34:55 2010 UTC revision 1.33.16.2 by rtoy, Thu Feb 25 22:01:11 2010 UTC
# Line 60  Depends: ${SRCS} Line 60  Depends: ${SRCS}
60    
61  -include Depends  -include Depends
62    
63  translations: ../../src/i18n/locale/ko/LC_MESSAGES/cmucl.mo  # Find all directories in ../i18n/locale.  These are the locales we
64    # currently support.
65    
66  %.mo : %.po  # This would be a nice way to do it so we don't have to keep track of
67          -msgfmt -f $^ -o $@  # 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  ../../src/i18n/locale/ko/LC_MESSAGES/cmucl.po : cmucl.pot  # Convert locale names to the appropriate path where we want the mo files to go.
72          msgmerge $@ $^ -o $@  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.16.1  
changed lines
  Added in v.1.33.16.2

  ViewVC Help
Powered by ViewVC 1.1.5