diff options
Diffstat (limited to 'nls/lv_LV')
-rw-r--r-- | nls/lv_LV/Makefile.am | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/nls/lv_LV/Makefile.am b/nls/lv_LV/Makefile.am index b4cb62d..0eb4e5d 100644 --- a/nls/lv_LV/Makefile.am +++ b/nls/lv_LV/Makefile.am | |||
@@ -1,4 +1,7 @@ | |||
1 | # nls/lv_LV/Makefile.am for Blackbox-0.61.x - an X11 Window Manager | 1 | # nls/lv_LV/Makefile.am for Fluxbox - an X11 Window Manager |
2 | |||
3 | THE_LANG = lv_LV | ||
4 | CODESET = ISO-8859-13 | ||
2 | 5 | ||
3 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
4 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
@@ -8,25 +11,25 @@ EXTRA_DIST=$(MFILES) | |||
8 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
9 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
10 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
11 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/lv_LV"; \ | 14 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ |
12 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/lv_LV; \ | 15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
13 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/lv_LV; \ | 16 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
14 | rm -f $(DESTDIR)$(pkgdatadir)/nls/lv; \ | 17 | rm -f $(DESTDIR)$(pkgdatadir)/nls/lv; \ |
15 | ln -fs lv_LV $(DESTDIR)$(pkgdatadir)/nls/lv; \ | 18 | ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/lv; \ |
16 | fi | 19 | fi |
17 | uninstall-local: | 20 | uninstall-local: |
18 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 21 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
19 | rm -f $(DESTDIR)$(pkgdatadir)/nls/lv_LV/fluxbox.cat; \ | 22 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ |
20 | rmdir $(DESTDIR)$(pkgdatadir)/nls/lv_LV; \ | 23 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
21 | fi | 24 | fi |
22 | 25 | ||
23 | Translation.m: $(MFILES) | 26 | Translation.m: $(MFILES) |
24 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 27 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
25 | rm -f Translation.m; \ | 28 | rm -f Translation.m; \ |
26 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | 29 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ |
27 | fi | 30 | fi |
28 | 31 | ||
29 | fluxbox.cat: Translation.m | 32 | fluxbox.cat: Translation.m |
30 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 33 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
31 | LANG=lv_LV $(gencat_cmd) fluxbox.cat Translation.m; \ | 34 | LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ |
32 | fi | 35 | fi |