aboutsummaryrefslogtreecommitdiff
path: root/nls/es_ES/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/es_ES/Makefile.am')
-rw-r--r--nls/es_ES/Makefile.am32
1 files changed, 18 insertions, 14 deletions
diff --git a/nls/es_ES/Makefile.am b/nls/es_ES/Makefile.am
index 5856c87..937051a 100644
--- a/nls/es_ES/Makefile.am
+++ b/nls/es_ES/Makefile.am
@@ -1,32 +1,36 @@
1# nls/es_ES/Makefile.am for Blackbox-0.61.x - an X11 Window Manager 1# nls/es_ES/Makefile.am for Fluxbox - an X11 Window Manager
2
3THE_LANG = es_ES
4CODESET = ISO-8859-15
2 5
3NLSTEST = @NLS@ 6NLSTEST = @NLS@
4CLEANFILES = blackbox.cat 7CLEANFILES = fluxbox.cat
5MAINTAINERCLEANFILES = Makefile.in Translation.m 8MAINTAINERCLEANFILES = Makefile.in Translation.m
6MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m blackbox.m common.m main.m bsetroot.m 9MFILES = 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
7EXTRA_DIST=$(MFILES) 10EXTRA_DIST=$(MFILES)
8all-local: blackbox.cat 11all-local: fluxbox.cat
9install-data-local: blackbox.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/es_ES"; \ 14 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
12 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/es_ES; \ 15 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
13 $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/es_ES; \ 16 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
14 rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ 17 rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
15 ln -fs es_ES $(DESTDIR)$(pkgdatadir)/nls/es; \ 18 ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/es; \
16 fi 19 fi
17uninstall-local: 20uninstall-local:
18 @if test x$(NLSTEST) = "x-DNLS"; then \ 21 @if test x$(NLSTEST) = "x-DNLS"; then \
19 rm -f $(DESTDIR)$(pkgdatadir)/nls/es_ES/blackbox.cat; \ 22 rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
20 rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \ 23 rm -f $(DESTDIR)$(pkgdatadir)/nls/es; \
21 rmdir $(DESTDIR)$(pkgdatadir)/nls/es_ES; \ 24 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
22 fi 25 fi
23 26
24Translation.m: $(MFILES) 27Translation.m: $(MFILES)
25 @if test x$(NLSTEST) = "x-DNLS"; then \ 28 @if test x$(NLSTEST) = "x-DNLS"; then \
26 awk -f ../convert.awk output=Translation.m $(MFILES); \ 29 rm -f Translation.m; \
30 awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
27 fi 31 fi
28 32
29blackbox.cat: Translation.m 33fluxbox.cat: Translation.m
30 @if test x$(NLSTEST) = "x-DNLS"; then \ 34 @if test x$(NLSTEST) = "x-DNLS"; then \
31 $(gencat_cmd) blackbox.cat Translation.m; \ 35 LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
32 fi 36 fi