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