summaryrefslogtreecommitdiff
path: root/nls/ru_RU/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/ru_RU/Makefile.am')
-rw-r--r--nls/ru_RU/Makefile.am19
1 files changed, 11 insertions, 8 deletions
diff --git a/nls/ru_RU/Makefile.am b/nls/ru_RU/Makefile.am
index b250493..3ef9dae 100644
--- a/nls/ru_RU/Makefile.am
+++ b/nls/ru_RU/Makefile.am
@@ -1,4 +1,7 @@
1# nls/ru_RU/Makefile.am for Blackbox-0.61.x - an X11 Window Manager 1# nls/ru_RU/Makefile.am for Fluxbox - an X11 Window Manager
2
3THE_LANG = ru_RU
4CODESET = KOI8-R
2 5
3NLSTEST = @NLS@ 6NLSTEST = @NLS@
4CLEANFILES = fluxbox.cat 7CLEANFILES = fluxbox.cat
@@ -8,23 +11,23 @@ EXTRA_DIST=$(MFILES)
8all-local: fluxbox.cat 11all-local: fluxbox.cat
9install-data-local: fluxbox.cat 12install-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/ru_RU"; \ 14 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
12 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/ru_RU; \ 15 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
13 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/ru_RU; \ 16 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
14 fi 17 fi
15uninstall-local: 18uninstall-local:
16 @if test x$(NLSTEST) = "x-DNLS"; then \ 19 @if test x$(NLSTEST) = "x-DNLS"; then \
17 rm -f $(DESTDIR)$(pkgdatadir)/nls/ru_RU/fluxbox.cat; \ 20 rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
18 rmdir $(DESTDIR)$(pkgdatadir)/nls/ru_RU; \ 21 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
19 fi 22 fi
20 23
21Translation.m: $(MFILES) 24Translation.m: $(MFILES)
22 @if test x$(NLSTEST) = "x-DNLS"; then \ 25 @if test x$(NLSTEST) = "x-DNLS"; then \
23 rm -f Translation.m; \ 26 rm -f Translation.m; \
24 awk -f ../convert.awk output=Translation.m $(MFILES); \ 27 awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
25 fi 28 fi
26 29
27fluxbox.cat: Translation.m 30fluxbox.cat: Translation.m
28 @if test x$(NLSTEST) = "x-DNLS"; then \ 31 @if test x$(NLSTEST) = "x-DNLS"; then \
29 LANG=ru_RU $(gencat_cmd) fluxbox.cat Translation.m; \ 32 LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
30 fi 33 fi