diff options
Diffstat (limited to 'nls/sv_SE')
-rw-r--r-- | nls/sv_SE/Makefile.am | 19 |
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 | |||
3 | THE_LANG = sv_SE | ||
4 | CODESET = ISO-8859-1 | ||
2 | 5 | ||
3 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
4 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
@@ -9,23 +12,23 @@ EXTRA_DIST=$(MFILES) | |||
9 | all-local: fluxbox.cat | 12 | all-local: fluxbox.cat |
10 | install-data-local: fluxbox.cat | 13 | install-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 |
16 | uninstall-local: | 19 | uninstall-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 | ||
22 | Translation.m: $(MFILES) | 25 | Translation.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 | ||
28 | fluxbox.cat: Translation.m | 31 | fluxbox.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 |