diff options
author | rathnor <rathnor> | 2003-10-04 12:44:47 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-10-04 12:44:47 (GMT) |
commit | 35fe2d5e128c1b13d34a5152945a1b8979401d6f (patch) | |
tree | ca52ca41b7a80acc290753d266b540b6a5c3eac4 /nls/ja_JP/Makefile.am | |
parent | 158b515e21f0f0154041cd5985ec38fe37c0e875 (diff) | |
download | fluxbox-35fe2d5e128c1b13d34a5152945a1b8979401d6f.zip fluxbox-35fe2d5e128c1b13d34a5152945a1b8979401d6f.tar.bz2 |
fix nls bad message errors
Diffstat (limited to 'nls/ja_JP/Makefile.am')
-rw-r--r-- | nls/ja_JP/Makefile.am | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/nls/ja_JP/Makefile.am b/nls/ja_JP/Makefile.am index 9a4d97a..dcaf37b 100644 --- a/nls/ja_JP/Makefile.am +++ b/nls/ja_JP/Makefile.am | |||
@@ -1,3 +1,8 @@ | |||
1 | # nls/ja_JP/Makefile.am for Fluxbox - an X11 Window Manager | ||
2 | |||
3 | THE_LANG = ja_JP | ||
4 | CODESET = eucJP | ||
5 | |||
1 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
2 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
3 | MAINTAINERCLEANFILES = Makefile.in Translation.m | 8 | MAINTAINERCLEANFILES = Makefile.in Translation.m |
@@ -6,23 +11,23 @@ EXTRA_DIST=$(MFILES) | |||
6 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
7 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
8 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
9 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/ja_JP"; \ | 14 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ |
10 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \ | 15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
11 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \ | 16 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
12 | fi | 17 | fi |
13 | uninstall-local: | 18 | uninstall-local: |
14 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 19 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
15 | rm -f $(DESTDIR)$(pkgdatadir)/nls/ja_JP/fluxbox.cat; \ | 20 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ |
16 | rmdir $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \ | 21 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
17 | fi | 22 | fi |
18 | 23 | ||
19 | Translation.m: $(MFILES) | 24 | Translation.m: $(MFILES) |
20 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 25 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
21 | rm -f Translation.m; \ | 26 | rm -f Translation.m; \ |
22 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | 27 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ |
23 | fi | 28 | fi |
24 | 29 | ||
25 | fluxbox.cat: Translation.m | 30 | fluxbox.cat: Translation.m |
26 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 31 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
27 | LANG=ja_JP $(gencat_cmd) fluxbox.cat Translation.m; \ | 32 | LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ |
28 | fi | 33 | fi |