diff options
Diffstat (limited to 'nls/es_ES/Makefile.am')
-rw-r--r-- | nls/es_ES/Makefile.am | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/nls/es_ES/Makefile.am b/nls/es_ES/Makefile.am index 937051a..3a871b1 100644 --- a/nls/es_ES/Makefile.am +++ b/nls/es_ES/Makefile.am | |||
@@ -1,36 +1,22 @@ | |||
1 | # nls/es_ES/Makefile.am for Fluxbox - an X11 Window Manager | 1 | # nls/es_ES/Makefile.am for Fluxbox - www.fluxbox.org |
2 | 2 | ||
3 | THE_LANG = es_ES | 3 | THE_LANG = es_ES |
4 | CODESET = ISO-8859-15 | ||
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) |
10 | |||
11 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
12 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
13 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA |
14 | 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 |
15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 15 | NG); fi |
16 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
17 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ | ||
18 | ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/es; \ | ||
19 | fi | ||
20 | uninstall-local: | ||
21 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
22 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ | ||
23 | rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ | ||
24 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
25 | fi | ||
26 | 16 | ||
27 | Translation.m: $(MFILES) | 17 | uninstall-local: |
28 | @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 |
29 | rm -f Translation.m; \ | ||
30 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ | ||
31 | fi | ||
32 | 19 | ||
33 | fluxbox.cat: Translation.m | 20 | fluxbox.cat: Translation.m |
34 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 21 | @if test x$(NLSTEST) = "x-DNLS"; then $(gencat_cmd) fluxbox.cat Translation.m; fi |
35 | LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ | 22 | |
36 | fi | ||