diff options
author | rathnor <rathnor> | 2004-06-20 13:48:46 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-06-20 13:48:46 (GMT) |
commit | c144177c5c43ce35cf8c7b0e888a597d6292b39a (patch) | |
tree | 23c3fc18b03aa61918bc7fb4c6f7e69dd795f5b1 /nls/sv_SE/Makefile.am | |
parent | abc86f0028402a54ef74c378cf5b6805f01e0347 (diff) | |
download | fluxbox_pavel-c144177c5c43ce35cf8c7b0e888a597d6292b39a.zip fluxbox_pavel-c144177c5c43ce35cf8c7b0e888a597d6292b39a.tar.bz2 |
Conversion of old nls files to new string names...
Change to new style of working.
Diffstat (limited to 'nls/sv_SE/Makefile.am')
-rw-r--r-- | nls/sv_SE/Makefile.am | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/nls/sv_SE/Makefile.am b/nls/sv_SE/Makefile.am index aa4cfb1..979b540 100644 --- a/nls/sv_SE/Makefile.am +++ b/nls/sv_SE/Makefile.am | |||
@@ -1,34 +1,22 @@ | |||
1 | # nls/sv_SE/Makefile.am for Fluxbox - an X11 Window Manager | 1 | # nls/sv_SE/Makefile.am for Fluxbox - www.fluxbox.org |
2 | 2 | ||
3 | THE_LANG = sv_SE | 3 | THE_LANG = sv_SE |
4 | CODESET = ISO-8859-1 | ||
5 | 4 | ||
6 | NLSTEST = @NLS@ | 5 | NLSTEST = @NLS@ |
7 | CLEANFILES = fluxbox.cat | 6 | CLEANFILES = fluxbox.cat |
8 | MAINTAINERCLEANFILES = Makefile.in Translation.m | 7 | MAINTAINERCLEANFILES = Makefile.in |
9 | MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m fluxbox.m common.m main.m bsetroot.m | 8 | MFILES = Translation.m |
10 | EXTRA_DIST=$(MFILES) | 9 | EXTRA_DIST= $(MFILES) |
11 | 10 | ||
12 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
13 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
14 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA |
15 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ | 14 | NG)"; $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA |
16 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 15 | NG); fi |
17 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
18 | fi | ||
19 | uninstall-local: | ||
20 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
21 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ | ||
22 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
23 | fi | ||
24 | 16 | ||
25 | Translation.m: $(MFILES) | 17 | uninstall-local: |
26 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 18 | @if test x$(NLSTEST) = "x-DNLS"; then rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); fi |
27 | rm -f Translation.m; \ | ||
28 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ | ||
29 | fi | ||
30 | 19 | ||
31 | fluxbox.cat: Translation.m | 20 | fluxbox.cat: Translation.m |
32 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 21 | @if test x$(NLSTEST) = "x-DNLS"; then $(gencat_cmd) fluxbox.cat Translation.m; fi |
33 | LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ | 22 | |
34 | fi | ||